diff options
author | markd <markd> | 2011-09-29 19:27:06 +0000 |
---|---|---|
committer | markd <markd> | 2011-09-29 19:27:06 +0000 |
commit | 71fa8905f4e711d7e0dfdb5b7a127e9e52e19e22 (patch) | |
tree | 3352d96025c1e2049b69fbb5a704dcd75f020856 /mk/cmake-Modules/Platform | |
parent | ca0e4463b3a2d26be5cfd1bafc083fdf32cba0e8 (diff) | |
download | pkgsrc-71fa8905f4e711d7e0dfdb5b7a127e9e52e19e22.tar.gz |
Re-add $PREFIX (but not hard coded this time) to CMAKE_SYSTEM_PREFIX_PATH
Needed to properly detect and set the paths of some installed packages
that fall outside the buildlink framework.
Diffstat (limited to 'mk/cmake-Modules/Platform')
-rw-r--r-- | mk/cmake-Modules/Platform/UnixPaths.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/cmake-Modules/Platform/UnixPaths.cmake b/mk/cmake-Modules/Platform/UnixPaths.cmake index 4c6c8985bff..39554a88f52 100644 --- a/mk/cmake-Modules/Platform/UnixPaths.cmake +++ b/mk/cmake-Modules/Platform/UnixPaths.cmake @@ -5,7 +5,7 @@ GET_FILENAME_COMPONENT(_CMAKE_INSTALL_DIR "${_CMAKE_INSTALL_DIR}" PATH) LIST(APPEND CMAKE_SYSTEM_PREFIX_PATH # Standard - / /usr $ENV{BUILDLINK_DIR} + / /usr $ENV{BUILDLINK_DIR} $ENV{PREFIX} ) SET(CMAKE_SYSTEM_INCLUDE_PATH ${CMAKE_SYSTEM_INCLUDE_PATH} |