浏览代码

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)
fryshorts 10 年之前
父节点
当前提交
64fae808d6
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      plugins/linux-jack/CMakeLists.txt

+ 4 - 1
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