Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2696


Ignore:
Timestamp:
Feb 23, 2009, 10:35:53 PM (15 years ago)
Author:
rgrieder
Message:

Bugfix: Accidentally removed /usr from the CMAKE_PREFIX_PATH.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem3/cmake/LibraryConfig.cmake

    r2677 r2696  
    2929INCLUDE(FindPackageHandleStandardArgs)
    3030
    31 # Prevent CMake from finding libraries in the installation folder on windows
     31# Prevent CMake from finding libraries in the installation folder on Windows.
    3232# There might already be an installation from another compiler
    33 LIST(REMOVE_ITEM CMAKE_SYSTEM_PREFIX_PATH "${CMAKE_INSTALL_PREFIX}")
    34 LIST(REMOVE_ITEM CMAKE_SYSTEM_LIBRARY_PATH "${CMAKE_INSTALL_PREFIX}/bin")
     33IF(DEPENDENCY_PACKAGE_ENABLE)
     34  LIST(REMOVE_ITEM CMAKE_SYSTEM_PREFIX_PATH  "${CMAKE_INSTALL_PREFIX}")
     35  LIST(REMOVE_ITEM CMAKE_SYSTEM_LIBRARY_PATH "${CMAKE_INSTALL_PREFIX}/bin")
     36ENDIF()
    3537
    3638############## Platform Scripts #################
Note: See TracChangeset for help on using the changeset viewer.