summaryrefslogtreecommitdiff
path: root/mk/cmake-Modules
diff options
context:
space:
mode:
Diffstat (limited to 'mk/cmake-Modules')
-rw-r--r--mk/cmake-Modules/Platform/UnixPaths.cmake2
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}