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) set_target_properties(win-wasapi PROPERTIES FOLDER "plugins") install_obs_plugin_with_data(win-wasapi data)