obs-studio/plugins/win-wasapi/CMakeLists.txt

22 lines
504 B
CMake
Raw Normal View History

project(win-wasapi)
set(win-wasapi_HEADERS
enum-wasapi.hpp)
set(MODULE_DESCRIPTION "OBS WASAPI module")
configure_file(${CMAKE_SOURCE_DIR}/cmake/winrc/obs-module.rc.in win-wasapi.rc)
set(win-wasapi_SOURCES
win-wasapi.cpp
enum-wasapi.cpp
plugin-main.cpp
win-wasapi.rc)
add_library(win-wasapi MODULE
${win-wasapi_SOURCES}
${win-wasapi_HEADERS})
target_link_libraries(win-wasapi
libobs)
2020-05-13 06:37:01 -07:00
set_target_properties(win-wasapi PROPERTIES FOLDER "plugins")
install_obs_plugin_with_data(win-wasapi data)