Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1886


Ignore:
Timestamp:
Oct 5, 2008, 5:15:08 PM (16 years ago)
Author:
adrfried
Message:

Set library path on Windoof.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem/CMakeLists.txt

    r1882 r1886  
    4646SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
    4747SET(LIBRARY_OUTPUT_PATH    ${PROJECT_BINARY_DIR}/bin/lib)
     48
     49# Set PATH on Windows, so it finds the DLLs
     50IF(CMAKE_HOST_WIN32)
     51  FILE(TO_NATIVE_PATH "${LIBRARY_OUTPUT_PATH}" _native_library_path)
     52  SET(ENV{PATH} "$ENV{PATH}:${_native_library_path}")
     53ENDIF(CMAKE_HOST_WIN32)
    4854
    4955# Global compiler/linker flags. force -O2!
     
    129135# Add main source dir
    130136ADD_SUBDIRECTORY(src)
    131 
Note: See TracChangeset for help on using the changeset viewer.