linux-pulseaudio: Add include directory to cmake

Add the include directories found by cmake to the pulseaudio plugin.
This allows for the plugin to compile when the pulseaudio headers were
found in a directory that is not normally in the search path of the
compiler (e.g. /usr/local/include)
master
fryshorts 2015-05-03 17:01:09 +02:00
parent cef95722f9
commit 5983b506e9
1 changed files with 4 additions and 1 deletions

View File

@ -13,7 +13,10 @@ elseif(NOT PULSEAUDIO_FOUND)
return()
endif()
include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/libobs")
include_directories(
SYSTEM "${CMAKE_SOURCE_DIR}/libobs"
${PULSEAUDIO_INCLUDE_DIR}
)
set(linux-pulseaudio_SOURCES
linux-pulseaudio.c