diff options
author | Kenneth Heafield <github@kheafield.com> | 2016-05-01 14:29:03 +0300 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2016-05-01 14:29:03 +0300 |
commit | f4e70f0b3cf74474ba5d4cd922efcf6043b3eefd (patch) | |
tree | 430ca9be253971f48f93f4accd7bc44c57d62c30 /CMakeLists.txt | |
parent | 93c136ad04103e6124410497c750e6eee2e4fdbf (diff) |
cmake wasn't happy with that regex; hopefully this doesn't break clang
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e9734f5..acfc8ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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") |