]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
probably fixed the bit about not finding the right libs in some bsd installs
authorGregory Economou <groik@devel-freebsd14-aarch64-01.lan>
Mon, 15 Apr 2024 13:50:58 +0000 (16:50 +0300)
committerGregory Economou <groik@devel-freebsd14-aarch64-01.lan>
Mon, 15 Apr 2024 13:50:58 +0000 (16:50 +0300)
cmake/osdetection.cmake

index 6e7178cb30488a5d25b8366cf9801686abe5c4fa..874031b925924fbcb14e159b45740a31ea30ffef 100644 (file)
@@ -4,6 +4,9 @@ endif(CMAKE_SYSTEM_NAME MATCHES "Linux")
 
 if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
     set(FREEBSD true)
+    set(CMAKE_INSTALL_RPATH_USE_LINK_PATH true)
+    set(CMAKE_SKIP_INSTALL_RPATH false)
+    set(CMAKE_SKIP_RPATH false)
 endif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
 
 if(CMAKE_SYSTEM_NAME MATCHES "NetBSD")