From: Gregory Economou Date: Mon, 15 Apr 2024 13:50:58 +0000 (+0300) Subject: probably fixed the bit about not finding the right libs in some bsd installs X-Git-Tag: vectorscan/5.4.12^2~68^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b31243892953c9495a49ed1e38f28383e7a74448;p=thirdparty%2Fvectorscan.git probably fixed the bit about not finding the right libs in some bsd installs --- diff --git a/cmake/osdetection.cmake b/cmake/osdetection.cmake index 6e7178cb..874031b9 100644 --- a/cmake/osdetection.cmake +++ b/cmake/osdetection.cmake @@ -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")