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
parent
cef95722f9
commit
5983b506e9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue