mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 06:21:28 +00:00
luabind now compiles with warnings disabled for this library
This commit is contained in:
parent
1ed9c3082c
commit
4ad8500a3e
@ -21,7 +21,7 @@ SET(lb_sources
|
||||
)
|
||||
|
||||
SET(lb_headers
|
||||
|
||||
|
||||
)
|
||||
|
||||
ADD_LIBRARY(luabind ${lb_sources} ${lb_headers})
|
||||
@ -29,6 +29,12 @@ ADD_LIBRARY(luabind ${lb_sources} ${lb_headers})
|
||||
|
||||
IF(UNIX)
|
||||
ADD_DEFINITIONS(-fPIC)
|
||||
set_source_files_properties(${lb_sources} PROPERTY COMPILE_FLAGS -Wno-deprecated-declarations)
|
||||
|
||||
ENDIF(UNIX)
|
||||
|
||||
IF(MSVC)
|
||||
set_source_files_properties(${lb_sources} PROPERTY COMPILE_FLAGS " /W0 " )
|
||||
ENDIF(MSVC)
|
||||
|
||||
SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user