We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1225840 commit 691a618Copy full SHA for 691a618
CMakeLists.txt
@@ -197,7 +197,7 @@ elseif(APPLE)
197
elseif(LINUX)
198
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DGUID_STDLIB -std=c++17")
199
200
- if(CLANG)
+ if (CMAKE_CXX_COMPILER MATCHES "clang")
201
message(STATUS "Detected Clang compiler: ${CMAKE_CXX_COMPILER}")
202
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
203
endif()
0 commit comments