From 78423ebcd022b0dc33557c76686bedb3f5d718b3 Mon Sep 17 00:00:00 2001 From: Arthur Ice Date: Thu, 10 Apr 2014 16:21:23 -0700 Subject: [PATCH] Ignore all non syntax error warnings from lua bindings. luabind is auto generated so we don't want to check the warnings from this library, just check to be sure it won't cause a compile issue. --- luabind/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luabind/CMakeLists.txt b/luabind/CMakeLists.txt index 19d694203..93a02785e 100644 --- a/luabind/CMakeLists.txt +++ b/luabind/CMakeLists.txt @@ -28,7 +28,7 @@ ADD_LIBRARY(luabind ${lb_sources} ${lb_headers}) IF(UNIX) - ADD_DEFINITIONS(-fPIC) + ADD_DEFINITIONS(-fPIC -fsyntax-only) ENDIF(UNIX) SET(LIBRARY_OUTPUT_PATH ../Bin)