From d948508aa22ff273c915397f5aba365ac10bd4e4 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Tue, 19 Dec 2017 17:54:14 -0800 Subject: Enabling linux build --- External/lua-5.2.3/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'External/lua-5.2.3') 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] -- cgit v1.2.3