From: Thomas Debesse Date: Wed, 30 Aug 2017 22:32:48 +0000 (+0000) Subject: cmake: look for libraries in /usr/local/lib on FreeBSD X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a999abf62aadf65df0183589ac690e797e8b385e;p=xonotic%2Fnetradiant.git cmake: look for libraries in /usr/local/lib on FreeBSD --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 96ffb84f..1117e3fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)