Replace hard-coded paths to /usr/pkg with $ENV{BUILDLINK_DIR} and remove

a hard-coded path to /usr/local/bin altogether.  This usage is consistent
with other paths already in the same file.
This commit is contained in:
brook 2011-09-17 19:04:43 +00:00
parent 21e80ae392
commit 292550d268

View file

@ -5,7 +5,7 @@ GET_FILENAME_COMPONENT(_CMAKE_INSTALL_DIR "${_CMAKE_INSTALL_DIR}" PATH)
LIST(APPEND CMAKE_SYSTEM_PREFIX_PATH
# Standard
/ /usr /usr/pkg
/ /usr $ENV{BUILDLINK_DIR}
)
SET(CMAKE_SYSTEM_INCLUDE_PATH ${CMAKE_SYSTEM_INCLUDE_PATH}
@ -20,7 +20,7 @@ SET(CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_SYSTEM_LIBRARY_PATH}
)
SET(CMAKE_SYSTEM_PROGRAM_PATH ${CMAKE_SYSTEM_PROGRAM_PATH}
/bin /usr/bin /usr/local/bin /usr/pkg/bin /sbin
/bin /usr/bin $ENV{BUILDLINK_DIR}/bin /sbin
)
LIST(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES