moved and split up the linux xshm and pulseaudio capture plugins
This commit is contained in:
25
plugins/linux-xshm/CMakeLists.txt
Normal file
25
plugins/linux-xshm/CMakeLists.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
find_package(X11 REQUIRED)
|
||||
|
||||
include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/libobs")
|
||||
|
||||
set(linux-xshm_SOURCES
|
||||
linux-xshm.c
|
||||
xcursor.c
|
||||
xshm-input.c
|
||||
)
|
||||
set(linux-xshm_HEADERS
|
||||
xcursor.h
|
||||
)
|
||||
|
||||
add_library(linux-xshm MODULE
|
||||
${linux-xshm_SOURCES}
|
||||
${linux-xshm_HEADERS}
|
||||
)
|
||||
target_link_libraries(linux-xshm
|
||||
libobs
|
||||
${X11_LIBRARIES}
|
||||
${X11_XShm_LIB}
|
||||
${X11_Xfixes_LIB}
|
||||
)
|
||||
|
||||
install_obs_plugin(linux-xshm)
|
Reference in New Issue
Block a user