luabind now actually correctly builds with warning suppressed.

This commit is contained in:
Arthur Ice 2014-04-16 16:37:20 -07:00
parent 7eaee801be
commit 9bc9068dcf

View File

@ -21,14 +21,15 @@ SET(lb_sources
)
SET(lb_headers
)
ADD_LIBRARY(luabind ${lb_sources} ${lb_headers})
IF(UNIX)
ADD_DEFINITIONS(-fPIC -fsyntax-only)
ADD_DEFINITIONS(-fPIC)
SET_PROPERTY(SOURCE ${lb_sources} PROPERTY COMPILE_FLAGS -w)
ENDIF(UNIX)
SET(LIBRARY_OUTPUT_PATH ../Bin)