Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10185 for code/trunk/src


Ignore:
Timestamp:
Jan 10, 2015, 2:22:06 PM (10 years ago)
Author:
landauf
Message:

fixed warnings with cmake 3.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/CMakeLists.txt

    r9595 r10185  
    7373
    7474# Get name to configure the run scripts
     75CMAKE_POLICY(SET CMP0026 OLD) # we only use the file's name, not its actual location, so the old policy is fine
    7576GET_TARGET_PROPERTY(_exec_loc orxonox-main LOCATION)
    7677GET_FILENAME_COMPONENT(_exec_name ${_exec_loc} NAME)
    7778SET(ORXONOX_EXECUTABLE_NAME ${_exec_name} CACHE INTERNAL "")
     79CMAKE_POLICY(SET CMP0026 NEW) # set policy back to 'new'
    7880
    7981
Note: See TracChangeset for help on using the changeset viewer.