Changeset 5667 for code/branches/resource2/cmake/InstallConfig.cmake
- Timestamp:
- Aug 22, 2009, 10:51:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/resource2/cmake/InstallConfig.cmake
r5664 r5667 24 24 # 25 25 26 IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) # Variable provided by CMake 27 IF("$ENV{ORXONOX_DEV}" OR TARDIS) 28 SET(_install_prefix_changed 1) 29 SET(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/install CACHE PATH 30 "Install path prefix, prepended onto install directories." FORCE) 31 ENDIF() 32 ENDIF() 33 26 34 SET(_info_text "Puts all installed files in subfolders of the install prefix path. That root folder can then be moved, copied and renamed as you wish. The executable will not write to folders like ~/.orxonox or \"Applictation Data\"") 27 IF(UNIX )35 IF(UNIX AND NOT _install_prefix_changed) 28 36 OPTION(INSTALL_COPYABLE "${_info_text}" FALSE) 29 37 ELSE()
Note: See TracChangeset
for help on using the changeset viewer.