From 4ada0d8d31164eba59002d2cbc41b20e4f736516 Mon Sep 17 00:00:00 2001 From: Fred Emmott Date: Mon, 8 Feb 2021 15:41:23 -0600 Subject: [PATCH] Only attempt to install .pdb files on windows --- native/obs/CMakeLists.txt | 4 +++- native/xsplit/CMakeLists.txt | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/native/obs/CMakeLists.txt b/native/obs/CMakeLists.txt index 941e4f8..57941c5 100644 --- a/native/obs/CMakeLists.txt +++ b/native/obs/CMakeLists.txt @@ -22,7 +22,9 @@ set_target_properties( AUTOMOC ON ) install(TARGETS obs-streaming-remote) -install(FILES "$" TYPE BIN OPTIONAL) +if(WIN32) + install(FILES "$" TYPE BIN OPTIONAL) +endif() if(APPLE) set_target_properties(obs-streaming-remote PROPERTIES PREFIX "" SUFFIX ".so") diff --git a/native/xsplit/CMakeLists.txt b/native/xsplit/CMakeLists.txt index 614a44b..919e261 100644 --- a/native/xsplit/CMakeLists.txt +++ b/native/xsplit/CMakeLists.txt @@ -27,7 +27,9 @@ set_target_properties( ) install(TARGETS xsplit-streaming-remote) -install(FILES "$" TYPE BIN OPTIONAL) +if(WIN32) + install(FILES "$" TYPE BIN OPTIONAL) +endif() target_link_libraries( xsplit-streaming-remote