summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/utils.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/utils.cmake b/cmake/utils.cmake
index 9a2b410f..7801a1cc 100755
--- a/cmake/utils.cmake
+++ b/cmake/utils.cmake
@@ -54,8 +54,8 @@ if(${PLATFORM} MATCHES "Desktop")
endif()
# Ugly crutch. Temporary workaround for #551
-if("${CMAKE_SYSTEM_NAME}" MATCHES "(Free|Net|Open)BSD")
- link_directories("/usr/local/lib")
+if("${CMAKE_SYSTEM_NAME}" MATCHES "(Free|Net|Open)BSD|DragonFly")
+ link_directories("${CMAKE_INSTALL_PREFIX}/lib")
endif()
if(CMAKE_SYSTEM_NAME STREQUAL Linux)