summaryrefslogtreecommitdiffstats
path: root/External/lua-5.2.3
diff options
context:
space:
mode:
Diffstat (limited to 'External/lua-5.2.3')
-rw-r--r--External/lua-5.2.3/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/External/lua-5.2.3/CMakeLists.txt b/External/lua-5.2.3/CMakeLists.txt
index 383bae8..6e4ee5c 100644
--- a/External/lua-5.2.3/CMakeLists.txt
+++ b/External/lua-5.2.3/CMakeLists.txt
@@ -87,7 +87,7 @@ if(MSVC)
endif(MSVC)
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR
- CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
+ CMAKE_CXX_COMPILER_ID MATCHES "GNU")
# Setting LANGUAGE to CXX is not enough for clang, so use -x c++ to compile c files as c++ and suppress
# the following warning:
# clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]