Skip to content

Commit fb4e147

Browse files
authored
Fixing Clang discovery
1 parent aa5ebde commit fb4e147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if(NOT COMPILER_SUPPORTS_CXX11)
2323
endif()
2424

2525
#compiler flags
26-
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
26+
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
2727

2828
MESSAGE(STATUS "Setting Clang flags")
2929
set(CMAKE_CXX_FLAGS " --std=c++11 -W -march=native -fPIC -O3 -ldl" CACHE STRING "compile flags" FORCE)

0 commit comments

Comments
 (0)