Rename linux-xshm module to linux-capture
This commit is contained in:
parent
e610fd77ce
commit
a9cd60a78f
@ -7,7 +7,7 @@ elseif(APPLE)
|
||||
add_subdirectory(mac-avcapture)
|
||||
add_subdirectory(mac-capture)
|
||||
elseif("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
|
||||
add_subdirectory(linux-xshm)
|
||||
add_subdirectory(linux-capture)
|
||||
add_subdirectory(linux-xcomposite)
|
||||
add_subdirectory(linux-pulseaudio)
|
||||
add_subdirectory(linux-v4l2)
|
||||
|
30
plugins/linux-capture/CMakeLists.txt
Normal file
30
plugins/linux-capture/CMakeLists.txt
Normal file
@ -0,0 +1,30 @@
|
||||
project(linux-capture)
|
||||
|
||||
find_package(X11 REQUIRED)
|
||||
|
||||
include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/libobs")
|
||||
|
||||
set(linux-capture_SOURCES
|
||||
linux-capture.c
|
||||
xcursor.c
|
||||
xhelpers.c
|
||||
capture-input.c
|
||||
)
|
||||
set(linux-capture_HEADERS
|
||||
xcursor.h
|
||||
xhelpers.h
|
||||
)
|
||||
|
||||
add_library(linux-capture MODULE
|
||||
${linux-capture_SOURCES}
|
||||
${linux-capture_HEADERS}
|
||||
)
|
||||
target_link_libraries(linux-capture
|
||||
libobs
|
||||
${X11_LIBRARIES}
|
||||
${X11_XShm_LIB}
|
||||
${X11_Xfixes_LIB}
|
||||
${X11_Xinerama_LIB}
|
||||
)
|
||||
|
||||
install_obs_plugin_with_data(linux-capture data)
|
@ -1,30 +0,0 @@
|
||||
project(linux-xshm)
|
||||
|
||||
find_package(X11 REQUIRED)
|
||||
|
||||
include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/libobs")
|
||||
|
||||
set(linux-xshm_SOURCES
|
||||
linux-xshm.c
|
||||
xcursor.c
|
||||
xhelpers.c
|
||||
xshm-input.c
|
||||
)
|
||||
set(linux-xshm_HEADERS
|
||||
xcursor.h
|
||||
xhelpers.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}
|
||||
${X11_Xinerama_LIB}
|
||||
)
|
||||
|
||||
install_obs_plugin_with_data(linux-xshm data)
|
Loading…
x
Reference in New Issue
Block a user