]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
cmake: look for libraries in /usr/local/lib on FreeBSD
authorThomas Debesse <dev@illwieckz.net>
Wed, 30 Aug 2017 22:32:48 +0000 (22:32 +0000)
committerThomas Debesse <dev@illwieckz.net>
Sun, 2 Jun 2019 01:18:07 +0000 (03:18 +0200)
CMakeLists.txt

index 96ffb84ffbc6371fb44612e1e92731ed3a1c35e9..1117e3fab54f2f1b4c8e2cadd5041a911df28baf 100644 (file)
@@ -169,6 +169,12 @@ if (BUILD_RADIANT)
     disable_deprecated(PANGO 0)
 endif ()
 
+IF(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
+    link_directories(
+            /usr/local/lib
+    )
+endif ()
+
 if (BUILD_BINARIES)
     if (APPLE)
         if (BUILD_RADIANT)