Skip to content

Commit 1225840

Browse files
committed
Update CMakeLists.txt
1 parent fc62e19 commit 1225840

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ elseif(LINUX)
198198
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DGUID_STDLIB -std=c++17")
199199

200200
if(CLANG)
201-
message(STATUS "Using Linux Clang with libstdc++")
202-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libstdc++")
201+
message(STATUS "Detected Clang compiler: ${CMAKE_CXX_COMPILER}")
202+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
203203
endif()
204204

205205
endif()

0 commit comments

Comments
 (0)