Changed: #1323 Applied patch for Snowballs finding its config file on Windows. Thanks Molator.
This commit is contained in:
parent
5106a12702
commit
b7c3319d28
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,8 @@
|
||||||
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_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")
|
SET(SNOWBALLS_LOG_FILE "${NL_LOG_PREFIX}/snowballs" CACHE FILEPATH "Snowballs log file location")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue