blob: c60668d2cb9c93d9e88164dc2f268707936f74ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- CMakeLists.txt.orig 2016-12-09 13:36:53.000000000 +0300
+++ CMakeLists.txt 2016-12-26 17:57:38.831330000 +0300
@@ -66,6 +66,10 @@
ENDIF(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANG)
ENDIF(UNIX)
+# Add /usr/local/include to search path
+IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+ SET(CMAKE_REQUIRED_INCLUDES "/usr/local/include" "/usr/include")
+ENDIF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
# detect top level projects
IF(USE_SYSTEM_YAJL)
|