diff -r 090c6af64773 code/snowballs2/CMakeLists.txt --- a/code/snowballs2/CMakeLists.txt Fri Aug 19 16:58:18 2011 +0200 +++ b/code/snowballs2/CMakeLists.txt Mon Aug 22 15:37:40 2011 +0200 @@ -1,9 +1,14 @@ -SET(SNOWBALLS_CONFIG_FILE "${NL_ETC_PREFIX}/snowballs" CACHE FILEPATH "Snowballs config file location") +IF(WIN32) + SET(SNOWBALLS_CONFIG_FILE "." CACHE FILEPATH "Snowballs config file location") +ELSE(WIN32) + SET(SNOWBALLS_CONFIG_FILE "${NL_ETC_PREFIX}/snowballs" CACHE FILEPATH "Snowballs config file location") +ENDIF(WIN32) + SET(SNOWBALLS_DATA_FILE "${NL_SHARE_PREFIX}/games/snowballs" CACHE FILEPATH "Snowballs data file location") SET(SNOWBALLS_LOG_FILE "${NL_LOG_PREFIX}/snowballs" CACHE FILEPATH "Snowballs log file location") # Note: Not sure if this is still the best way to do this... #INSTALL(CODE "FILE(MAKE_DIRECTORY ${SNOWBALLS_LOG_FILE})") #----------------------------------------------------------------------------- #Platform specifics