From 185a97c4fb773611a71e8ea0e28a18bd1836d94b Mon Sep 17 00:00:00 2001 From: markd Date: Thu, 29 Sep 2011 19:27:06 +0000 Subject: 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. --- mk/cmake-Modules/Platform/UnixPaths.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mk/cmake-Modules') 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} -- cgit v1.2.3