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

@@ -45,9 +45,12 @@ if(ENABLE_FFMPEG_LOGGING)
endif()
if(WIN32)
set(MODULE_DESCRIPTION "OBS FFmpeg module")
configure_file(${CMAKE_SOURCE_DIR}/cmake/winrc/obs-module.rc.in obs-ffmpeg.rc)
list(APPEND obs-ffmpeg_SOURCES
jim-nvenc.c
jim-nvenc-helpers.c)
jim-nvenc-helpers.c
obs-ffmpeg.rc)
list(APPEND obs-ffmpeg_HEADERS
jim-nvenc.h)
endif()