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-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ee5f7913eae4b18a08d9268d139580eb863d9e9;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")