CMake: Build Windows modules with file descriptors

This commit is contained in:
Matt Gajownik
2019-06-16 21:42:58 +10:00
parent 5ea62d5ef6
commit 51be039cf8
28 changed files with 173 additions and 15 deletions

View File

@@ -155,6 +155,13 @@ set(obs-outputs_SOURCES
flv-mux.c
net-if.c)
if(WIN32)
set(MODULE_DESCRIPTION "OBS output module")
configure_file(${CMAKE_SOURCE_DIR}/cmake/winrc/obs-module.rc.in obs-outputs.rc)
list(APPEND obs-outputs_SOURCES
obs-outputs.rc)
endif()
add_library(obs-outputs MODULE
${ftl_SOURCES}
${ftl_HEADERS}