- Timestamp:
- Jan 3, 2018, 2:33:12 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/CMakeLists.txt
r10624 r11694 76 76 ADD_DEPENDENCIES(orxonox-main ${ORXONOX_MODULES}) 77 77 78 # Get name to configure the run scripts79 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 fine82 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 settings88 ENDIF()89 90 78 91 79 # Apple Mac OS X specific build settings … … 96 84 "-framework Foundation" 97 85 ) 86 87 # Get name to configure the run scripts 88 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 fine 91 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 settings 97 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.