From b6b0ab1a9bcb4c32a6851e9435372385f7e6f1ee Mon Sep 17 00:00:00 2001 From: Gregory Economou Date: Tue, 16 Apr 2024 15:18:58 +0300 Subject: [PATCH] added a fixme for the clunky rpath setting logic --- cmake/osdetection.cmake | 1 + 1 file changed, 1 insertion(+) 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")