From ad96df9e93086d49826bce8eebe643d7db25aa3f Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sat, 21 May 2022 07:55:03 +0200 Subject: Wayland under FreeBSD: detect and fix LIBDECOR_PLUGIN_DIR. --- CMake/resources.cmake | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMake') 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) -- cgit v1.2.3