From 64fae808d606f35c54bfb0d71cd9134e868b1b22 Mon Sep 17 00:00:00 2001 From: fryshorts Date: Mon, 4 May 2015 21:35:45 +0200 Subject: [PATCH] linux-jack: Add include directory to cmake Add the include directories found by cmake to the jack plugin. This allows for the plugin to compile when the jack headers were found in a directory that is not normally in the search path of the compiler (e.g. /usr/local/include) --- plugins/linux-jack/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/linux-jack/CMakeLists.txt b/plugins/linux-jack/CMakeLists.txt index 4ac17cbf9..aac7a8db6 100644 --- a/plugins/linux-jack/CMakeLists.txt +++ b/plugins/linux-jack/CMakeLists.txt @@ -13,7 +13,10 @@ elseif(NOT JACK_FOUND) return() endif() -include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/libobs") +include_directories( + SYSTEM "${CMAKE_SOURCE_DIR}/libobs" + ${JACK_INCLUDE_DIR} +) set(linux-jack_SOURCES linux-jack.c