summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
Diffstat (limited to 'CMake')
-rw-r--r--CMake/resources.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMake/resources.cmake b/CMake/resources.cmake
index b38156711..aa17f73b3 100644
--- a/CMake/resources.cmake
+++ b/CMake/resources.cmake
@@ -49,6 +49,10 @@ include (FindPkgConfig)
# Find header files...
#######################################################################
+if (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "FreeBSD")
+ list (APPEND CMAKE_REQUIRED_INCLUDES /usr/local/include)
+endif (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "FreeBSD")
+
fl_find_header (HAVE_ALSA_ASOUNDLIB_H alsa/asoundlib.h)
fl_find_header (HAVE_DLFCN_H dlfcn.h)
fl_find_header (HAVE_GL_GLU_H GL/glu.h)