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

@@ -71,8 +71,11 @@ if(SCRIPTING_ENABLED)
endif()
if(WIN32)
set(MODULE_DESCRIPTION "OBS Frontend Tools")
configure_file(${CMAKE_SOURCE_DIR}/cmake/winrc/obs-module.rc.in frontend-tools.rc)
set(frontend-tools_PLATFORM_SOURCES
auto-scene-switcher-win.cpp)
auto-scene-switcher-win.cpp
frontend-tools.rc)
if(BUILD_CAPTIONS)
set(frontend-tools_PLATFORM_SOURCES