mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08: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
@ -56,6 +56,14 @@ ELSE()
|
|||||||
SET(FISH_IN_TREE_BUILD FALSE)
|
SET(FISH_IN_TREE_BUILD FALSE)
|
||||||
ENDIF()
|
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
|
# All objects that the system needs to build fish, except fish.cpp
|
||||||
SET(FISH_SRCS
|
SET(FISH_SRCS
|
||||||
src/autoload.cpp src/builtin.cpp src/builtin_bg.cpp src/builtin_bind.cpp
|
src/autoload.cpp src/builtin.cpp src/builtin_bg.cpp src/builtin_bind.cpp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user