exclude LUA_USE_POSIX define from MSVC project file generator
This commit is contained in:
parent
ff2f64c59f
commit
23eb9861be
1 changed files with 3 additions and 3 deletions
|
@ -34,6 +34,9 @@ if(NOT MSVC)
|
|||
set(SDL_CONFIG "sdl-config" CACHE STRING "Path to sdl-config script")
|
||||
exec_program(${SDL_CONFIG} ARGS "--cflags" OUTPUT_VARIABLE SDL_CFLAGS)
|
||||
add_definitions(${SDL_CFLAGS})
|
||||
|
||||
# Use the safer `mkstemp' instead of `tmpnam' on POSIX systems.
|
||||
add_definitions(-DLUA_USE_POSIX)
|
||||
endif(NOT MSVC)
|
||||
|
||||
if(MSVC)
|
||||
|
@ -41,9 +44,6 @@ if(MSVC)
|
|||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||
endif(MSVC)
|
||||
|
||||
# Use the safer `mkstemp' instead of `tmpnam' on POSIX systems.
|
||||
add_definitions(-DLUA_USE_POSIX)
|
||||
|
||||
#check for some compiler/arch specific things and export defines accordingly...
|
||||
include(SearchForStuff)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue