make the new memory allocator...
...(or whatever else caused the game to freeze at showing the mainscreen) work with cmake, too in all other build systems this define was set due to sdl-config, might require an explicit addition, just to be sure
This commit is contained in:
parent
eeaacb9006
commit
5474e2625f
1 changed files with 3 additions and 0 deletions
|
@ -107,6 +107,9 @@ if(X11_FOUND)
|
|||
add_definitions(-D_X11)
|
||||
endif(X11_FOUND)
|
||||
|
||||
# needed to have the new memory allocator work!!!
|
||||
add_definitions(-D_GNU_SOURCE=1)
|
||||
|
||||
add_definitions(-DHAS_RELATIVE_LOCALEDIR)
|
||||
add_definitions(-DLOCALEDIR='\"${LOCALEDIR}\"')
|
||||
set(LOCALE_INSTALL ${DATADIR}/${LOCALEDIR})
|
||||
|
|
Loading…
Add table
Reference in a new issue