Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 12, 2009, 2:00:31 PM (16 years ago)
Author:
rgrieder
Message:

Build fix introduced by some changes in root CMLs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/bin/CMakeLists.txt

    r2583 r2584  
    3333FOREACH(_FILE ${CONFIG_FILES})
    3434  GET_FILENAME_COMPONENT(_filename ${_FILE} NAME)
    35   IF (NOT EXISTS ${EXECUTABLE_OUTPUT_PATH}/${_filename})
    36     CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${_FILE} ${EXECUTABLE_OUTPUT_PATH}/${_filename} COPYONLY)
    37   ENDIF (NOT EXISTS ${EXECUTABLE_OUTPUT_PATH}/${_filename})
     35  IF (NOT EXISTS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${_filename})
     36    CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${_FILE} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${_filename} COPYONLY)
     37  ENDIF (NOT EXISTS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${_filename})
    3838ENDFOREACH(_FILE)
Note: See TracChangeset for help on using the changeset viewer.