summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pool <mbp@sourcefrog.net>2016-01-02 11:16:59 -0800
committerMartin Pool <mbp@sourcefrog.net>2016-01-02 11:16:59 -0800
commitaa1dbdfe95c32548b233147dc829c94cedb738f0 (patch)
tree4bbb3429eb52ef53b98fb29be4a1d09bcd2c0614
parent87bfa0de69a014ef994b192699efa2b1b1b00e96 (diff)
downloadlibrsync-aa1dbdfe95c32548b233147dc829c94cedb738f0.tar.gz
Apparently CMake spells the compiler identification 'GNU'
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0c64355..148e55c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -112,7 +112,7 @@ if(APPLE)
endif()
endif()
-if (CMAKE_C_COMPILER_ID MATCHES "(Clang|Gnu)")
+if (CMAKE_C_COMPILER_ID MATCHES "(Clang|Gnu|GNU)")
# TODO: Set for MSVC and other compilers.
# TODO: Set -Werror when the build is clean.