diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-07-27 15:57:17 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-07-27 15:57:17 (GMT) |
commit | 507896e03b77842513799b7413afb667fffe9f35 (patch) | |
tree | c901def26b72d136799296a1c728004e08e177d3 /Modules/Platform/UnixPaths.cmake | |
parent | 2745742e090d0d267e130b710ac435540a70cb94 (diff) | |
download | CMake-507896e03b77842513799b7413afb667fffe9f35.zip CMake-507896e03b77842513799b7413afb667fffe9f35.tar.gz CMake-507896e03b77842513799b7413afb667fffe9f35.tar.bz2 |
ENH:
-add /usr/openwin/include and /usr/openwin/lib to the default search paths
-add /${CMAKE_INSTALL_PREFIX}/(lib|bin|include) to the default cmake search
paths -> this should help users who install stuff in their home
Alex
Diffstat (limited to 'Modules/Platform/UnixPaths.cmake')
-rw-r--r-- | Modules/Platform/UnixPaths.cmake | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Modules/Platform/UnixPaths.cmake b/Modules/Platform/UnixPaths.cmake index 8089bad..5ff47f0 100644 --- a/Modules/Platform/UnixPaths.cmake +++ b/Modules/Platform/UnixPaths.cmake @@ -15,8 +15,10 @@ SET(CMAKE_SYSTEM_INCLUDE_PATH ${CMAKE_SYSTEM_INCLUDE_PATH} # Other /opt/local/include /usr/pkg/include - /opt/csw/include /opt/include + /opt/csw/include /opt/include + /usr/openwin/include "${_CMAKE_INSTALL_DIR}/include" + "${CMAKE_INSTALL_PREFIX}/include" ) SET(CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_SYSTEM_LIBRARY_PATH} @@ -31,13 +33,16 @@ SET(CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_SYSTEM_LIBRARY_PATH} # Other /opt/local/lib /usr/pkg/lib - /opt/csw/lib /opt/lib + /opt/csw/lib /opt/lib + /usr/openwin/lib "${_CMAKE_INSTALL_DIR}/lib" + "${CMAKE_INSTALL_PREFIX}/lib" ) SET(CMAKE_SYSTEM_PROGRAM_PATH ${CMAKE_SYSTEM_PROGRAM_PATH} /bin /usr/bin /usr/local/bin /usr/pkg/bin /sbin "${_CMAKE_INSTALL_DIR}/bin" + "${CMAKE_INSTALL_PREFIX}/bin" ) SET(CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES |