CMake: Build Windows modules with file descriptors
This commit is contained in:
@@ -8,6 +8,13 @@ set(obs-x264_SOURCES
|
||||
obs-x264.c
|
||||
obs-x264-plugin-main.c)
|
||||
|
||||
if(WIN32)
|
||||
set(MODULE_DESCRIPTION "OBS x264 encoder")
|
||||
configure_file(${CMAKE_SOURCE_DIR}/cmake/winrc/obs-module.rc.in obs-x264.rc)
|
||||
list(APPEND obs-x264_SOURCES
|
||||
obs-x264.rc)
|
||||
endif()
|
||||
|
||||
add_library(obs-x264 MODULE
|
||||
${obs-x264_SOURCES})
|
||||
target_link_libraries(obs-x264
|
||||
|
Reference in New Issue
Block a user