mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-19 13:46:13 +00:00
Changed: #1023 Use a standard application path for writing files
This commit is contained in:
parent
dbbd972c50
commit
b7628b5cc2
1 changed files with 10 additions and 1 deletions
|
@ -132,6 +132,15 @@ MACRO(NL_SETUP_BUILD_FLAGS)
|
|||
ENDMACRO(NL_SETUP_BUILD_FLAGS)
|
||||
|
||||
MACRO(RYZOM_SETUP_PREFIX_PATHS)
|
||||
## Allow override of install_prefix path.
|
||||
IF(NOT RYZOM_PREFIX)
|
||||
IF(WIN32)
|
||||
SET(RYZOM_PREFIX "." CACHE PATH "Installation path")
|
||||
ELSE(WIN32)
|
||||
SET(RYZOM_PREFIX "${CMAKE_INSTALL_PREFIX}" CACHE PATH "Installation path")
|
||||
ENDIF(WIN32)
|
||||
ENDIF(NOT RYZOM_PREFIX)
|
||||
|
||||
## Allow override of install_prefix/etc path.
|
||||
IF(NOT RYZOM_ETC_PREFIX)
|
||||
IF(WIN32)
|
||||
|
@ -148,7 +157,7 @@ MACRO(RYZOM_SETUP_PREFIX_PATHS)
|
|||
ELSE(WIN32)
|
||||
SET(RYZOM_SHARE_PREFIX "${CMAKE_INSTALL_PREFIX}/share/ryzom" CACHE PATH "Installation path for data.")
|
||||
ENDIF(WIN32)
|
||||
ENDIF(NOT NL_SHARE_PREFIX)
|
||||
ENDIF(NOT RYZOM_SHARE_PREFIX)
|
||||
|
||||
## Allow override of install_prefix/sbin path.
|
||||
IF(NOT RYZOM_SBIN_PREFIX)
|
||||
|
|
Loading…
Reference in a new issue