mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 14:39:00 +08:00
5d27b1b578
* [fastcdr] Update to 1.0.25 * Update version database
14 lines
466 B
Diff
14 lines
466 B
Diff
diff --git a/src/cpp/CMakeLists.txt b/src/cpp/CMakeLists.txt
|
|
index da35d03..343f038 100644
|
|
--- a/src/cpp/CMakeLists.txt
|
|
+++ b/src/cpp/CMakeLists.txt
|
|
@@ -195,7 +195,7 @@ elseif(NOT EPROSIMA_INSTALLER)
|
|
endif()
|
|
|
|
# install symbols if any
|
|
- if(PDB_FILE)
|
|
+ if(PDB_FILE AND BUILD_SHARED_LIBS)
|
|
install(FILES ${PDB_FILE}
|
|
DESTINATION ${LIB_INSTALL_DIR}${MSVCARCH_DIR_EXTENSION}
|
|
COMPONENT symbols
|