first try at getting cmake to leave custom shared lib paths with the binary,

with package added compilers we need to find the right std libs from the
compiler we added, not the base install libs.
This commit is contained in:
G.E. 2024-04-15 11:52:33 +03:00
parent b0916df825
commit 2e86b8524d

View File

@ -4,6 +4,7 @@ endif(CMAKE_SYSTEM_NAME MATCHES "Linux")
if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
set(FREEBSD true)
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH true)
endif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
if(CMAKE_SYSTEM_NAME MATCHES "NetBSD")