Fix OPTION_UNLOAD_SSGGRAPH to work on non-unix platforms

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8087 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
beaglejoe 2022-03-23 15:41:03 +00:00
parent 5f3dc08045
commit 3b06798159
1 changed files with 3 additions and 1 deletions

View File

@ -104,9 +104,11 @@ MACRO(ADD_SD_COMPILE_OPTIONS)
IF(UNIX)
SET(OPTION_XRANDR true CACHE BOOL "XrandR")
SET(OPTION_GLEXTPROTOTYPES true CACHE BOOL "Enable prototypes in glext.h")
SET(OPTION_UNLOAD_SSGGRAPH true CACHE BOOL "If false, never unload ssggraph module (useful on some Linuxes to avoid XOrg crashes)")
#SET(OPTION_UNLOAD_SSGGRAPH true CACHE BOOL "If false, never unload ssggraph module (useful on some Linuxes to avoid XOrg crashes)")
ENDIF(UNIX)
SET(OPTION_UNLOAD_SSGGRAPH true CACHE BOOL "If false, never unload ssggraph module (useful on some Linuxes to avoid XOrg crashes)")
IF(OPTION_USE_MACPORTS)
SET(CMAKE_MACOSX_RPATH TRUE)