From: Gregory Economou Date: Tue, 16 Apr 2024 12:18:58 +0000 (+0300) Subject: added a fixme for the clunky rpath setting logic X-Git-Tag: vectorscan/5.4.12^2~68^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6b0ab1a9bcb4c32a6851e9435372385f7e6f1ee;p=thirdparty%2Fvectorscan.git added a fixme for the clunky rpath setting logic --- diff --git a/cmake/osdetection.cmake b/cmake/osdetection.cmake index 23f6a5d5..3369447a 100644 --- a/cmake/osdetection.cmake +++ b/cmake/osdetection.cmake @@ -5,6 +5,7 @@ endif(CMAKE_SYSTEM_NAME MATCHES "Linux") if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") set(FREEBSD true) set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) + #FIXME: find a nicer and more general way of doing this if(CMAKE_C_COMPILER MATCHES "/usr/local/bin/gcc12") set(CMAKE_BUILD_RPATH "/usr/local/lib/gcc12") elseif(CMAKE_C_COMPILER MATCHES "/usr/local/bin/gcc13")