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")