From 1721ee52f4e051cde4098725d52a7438bd76439c Mon Sep 17 00:00:00 2001 From: Dibyendu Majumdar Date: Sat, 14 Nov 2015 22:02:04 +0000 Subject: [PATCH] revise cmake build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1dfc4bf..2845c38 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,7 +81,7 @@ if (MSVC) endif () -if (CMAKE_COMPILER_IS_GNUCXX) +if (CMAKE_COMPILER_IS_GNUCXX AND NOT APPLE) if (NOT WIN32) # assume Linux set(CXX_OPTIONS -DLUA_USE_LINUX)