Changeset 10186 for code/trunk/src
- Timestamp:
- Jan 10, 2015, 2:35:30 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/CMakeLists.txt
r10185 r10186 73 73 74 74 # Get name to configure the run scripts 75 CMAKE_POLICY(SET CMP0026 OLD) # we only use the file's name, not its actual location, so the old policy is fine 75 IF (POLICY CMP0026) 76 CMAKE_POLICY(PUSH) 77 CMAKE_POLICY(SET CMP0026 OLD) # we only use the file's name, not its actual location, so the old policy is fine 78 ENDIF() 76 79 GET_TARGET_PROPERTY(_exec_loc orxonox-main LOCATION) 77 80 GET_FILENAME_COMPONENT(_exec_name ${_exec_loc} NAME) 78 81 SET(ORXONOX_EXECUTABLE_NAME ${_exec_name} CACHE INTERNAL "") 79 CMAKE_POLICY(SET CMP0026 NEW) # set policy back to 'new' 82 IF (POLICY CMP0026) 83 CMAKE_POLICY(POP) # set policy back to original settings 84 ENDIF() 80 85 81 86
Note: See TracChangeset
for help on using the changeset viewer.