probably fixed the bit about not finding the right libs in some bsd installs

This commit is contained in:
Gregory Economou 2024-04-15 16:50:58 +03:00
parent d96206a12f
commit b312438929

View File

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