Skip to content

Commit

Permalink
cmake wasn't happy with that regex; hopefully this doesn't break clang
Browse files Browse the repository at this point in the history
  • Loading branch information
kpu committed May 1, 2016
1 parent 93c136a commit f4e70f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if (FORCE_STATIC)
endif(${flag_var} MATCHES "/MD")
endforeach(flag_var)
else (MSVC)
if (NOT CMAKE_C_COMPILER_ID MATCHES "*Clang")
if (NOT CMAKE_C_COMPILER_ID MATCHES ".*Clang")
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static")
endif ()
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
Expand Down

0 comments on commit f4e70f0

Please sign in to comment.