summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
author[email protected] <[email protected]>2018-06-22 23:31:22 +0200
committerMartinfx <[email protected]>2018-06-23 17:02:04 +0200
commit965cc8ab6fab12fdab1ddd78b9a8e5eb146f3282 (patch)
treec242e33754e8a8bc9d7c9f5da7cef867caf2a891 /cmake
parent1630597f08590fd76f13440e9a3792e758b4c7d1 (diff)
downloadraylib-965cc8ab6fab12fdab1ddd78b9a8e5eb146f3282.tar.gz
raylib-965cc8ab6fab12fdab1ddd78b9a8e5eb146f3282.zip
Added support DragonFly os from BSD family
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)