]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
first try at getting cmake to leave custom shared lib paths with the binary,
authorG.E. <gregory.economou@vectorcamp.gr>
Mon, 15 Apr 2024 08:52:33 +0000 (11:52 +0300)
committerG.E. <gregory.economou@vectorcamp.gr>
Mon, 15 Apr 2024 08:52:33 +0000 (11:52 +0300)
with package added compilers we need to find the right std libs from the
compiler we added, not the base install libs.

cmake/osdetection.cmake

index 0e730fe38315f882b6f4d33bac95127fb90bae23..1f35f1d3fb5a5baff3a35da7161021b72d7c5926 100644 (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")