mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
cmake: Keep rpath on NetBSD
Otherwise it'd fail to find pcre2 in the invocation tests.
This commit is contained in:
parent
11009de431
commit
c242469e8b
1 changed files with 8 additions and 0 deletions
|
@ -56,6 +56,14 @@ ELSE()
|
|||
SET(FISH_IN_TREE_BUILD FALSE)
|
||||
ENDIF()
|
||||
|
||||
# NetBSD does weird things with finding libraries,
|
||||
# making the tests fail by failing to find pcre.
|
||||
#
|
||||
# Keep the rpath used to build.
|
||||
IF(CMAKE_SYSTEM_NAME STREQUAL NetBSD)
|
||||
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
ENDIF()
|
||||
|
||||
# All objects that the system needs to build fish, except fish.cpp
|
||||
SET(FISH_SRCS
|
||||
src/autoload.cpp src/builtin.cpp src/builtin_bg.cpp src/builtin_bind.cpp
|
||||
|
|
Loading…
Reference in a new issue