Changeset 11697 for code/trunk
- Timestamp:
- Jan 3, 2018, 11:13:37 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/CMakeLists.txt
r11694 r11697 76 76 ADD_DEPENDENCIES(orxonox-main ${ORXONOX_MODULES}) 77 77 78 # Get name to configure the run scripts 79 IF (POLICY CMP0026) 80 CMAKE_POLICY(PUSH) 81 CMAKE_POLICY(SET CMP0026 OLD) # we only use the file's name, not its actual location, so the old policy is fine 82 ENDIF() 83 GET_TARGET_PROPERTY(_exec_loc orxonox-main LOCATION) 84 GET_FILENAME_COMPONENT(_exec_name ${_exec_loc} NAME) 85 SET(ORXONOX_EXECUTABLE_NAME ${_exec_name} CACHE INTERNAL "") 86 IF (POLICY CMP0026) 87 CMAKE_POLICY(POP) # set policy back to original settings 88 ENDIF() 89 78 90 79 91 # Apple Mac OS X specific build settings … … 84 96 "-framework Foundation" 85 97 ) 86 87 # Get name to configure the run scripts88 IF (POLICY CMP0026)89 CMAKE_POLICY(PUSH)90 CMAKE_POLICY(SET CMP0026 OLD) # we only use the file's name, not its actual location, so the old policy is fine91 ENDIF()92 GET_TARGET_PROPERTY(_exec_loc orxonox-main LOCATION)93 GET_FILENAME_COMPONENT(_exec_name ${_exec_loc} NAME)94 SET(ORXONOX_EXECUTABLE_NAME ${_exec_name} CACHE INTERNAL "")95 IF (POLICY CMP0026)96 CMAKE_POLICY(POP) # set policy back to original settings97 ENDIF()98 98 99 99 # Post-build step for the creation of the Dev-App bundle
Note: See TracChangeset
for help on using the changeset viewer.