From aa33016e28f42d1be962b105e6a319b21d81cb8d Mon Sep 17 00:00:00 2001 From: Matt Gajownik Date: Mon, 25 May 2026 18:28:12 +1000 Subject: [PATCH] obs-webrtc: Build with file descriptor --- plugins/obs-webrtc/CMakeLists.txt | 5 +++++ plugins/obs-webrtc/cmake/windows/obs-module.rc.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/obs-webrtc/CMakeLists.txt b/plugins/obs-webrtc/CMakeLists.txt index d57ca8af5..6324ae712 100644 --- a/plugins/obs-webrtc/CMakeLists.txt +++ b/plugins/obs-webrtc/CMakeLists.txt @@ -19,4 +19,9 @@ target_sources( target_link_libraries(obs-webrtc PRIVATE OBS::libobs LibDataChannel::LibDataChannel CURL::libcurl) +if(OS_WINDOWS) + configure_file(cmake/windows/obs-module.rc.in obs-webrtc.rc) + target_sources(obs-webrtc PRIVATE obs-webrtc.rc) +endif() + set_target_properties_obs(obs-webrtc PROPERTIES FOLDER plugins PREFIX "") diff --git a/plugins/obs-webrtc/cmake/windows/obs-module.rc.in b/plugins/obs-webrtc/cmake/windows/obs-module.rc.in index ab2a46431..fb81e328f 100644 --- a/plugins/obs-webrtc/cmake/windows/obs-module.rc.in +++ b/plugins/obs-webrtc/cmake/windows/obs-module.rc.in @@ -6,7 +6,7 @@ BEGIN BLOCK "040904B0" BEGIN VALUE "CompanyName", "${OBS_COMPANY_NAME}" - VALUE "FileDescription", "OBS output module" + VALUE "FileDescription", "OBS WebRTC module" VALUE "FileVersion", "${OBS_VERSION_CANONICAL}" VALUE "ProductName", "${OBS_PRODUCT_NAME}" VALUE "ProductVersion", "${OBS_VERSION_CANONICAL}"