vcpkg/ports/fastcdr/pdb-file.patch

14 lines
403 B
Diff
Raw Normal View History

diff --git a/src/cpp/CMakeLists.txt b/src/cpp/CMakeLists.txt
2024-06-19 02:59:11 +08:00
index 7ac643b..a70750d 100644
--- a/src/cpp/CMakeLists.txt
+++ b/src/cpp/CMakeLists.txt
2024-06-19 02:59:11 +08:00
@@ -158,7 +158,7 @@ if(MSVC OR MSVC_IDE)
endif()
2024-06-19 02:59:11 +08:00
# install symbols if any
- if(PDB_FILE)
+ if(PDB_FILE AND BUILD_SHARED_LIBS)
install(FILES ${PDB_FILE}
DESTINATION ${LIB_INSTALL_DIR}
COMPONENT symbols