vcpkg/ports/fastrtps/fix-install.patch

15 lines
800 B
Diff
Raw Normal View History

diff --git a/src/cpp/CMakeLists.txt b/src/cpp/CMakeLists.txt
index a1e91fd..f5578cd 100644
--- a/src/cpp/CMakeLists.txt
+++ b/src/cpp/CMakeLists.txt
@@ -416,7 +416,8 @@ if(MSVC OR MSVC_IDE)
PATTERN "*.pdb"
)
- if(NOT (("${MSVC_ARCH}" STREQUAL "i86Win32VS2013") OR ("${MSVC_ARCH}" STREQUAL "x64Win64VS2013")))
+ if(NOT (("${MSVC_ARCH}" STREQUAL "i86Win32VS2013") OR ("${MSVC_ARCH}" STREQUAL "x64Win64VS2013")
+ OR ("${MSVC_ARCH}" STREQUAL "i86Win32VS2015") OR ("${MSVC_ARCH}" STREQUAL "x64Win64VS2015")))
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}_static.dir/Debug/${PROJECT_NAME}_static.pdb
DESTINATION ${LIB_INSTALL_DIR}${DIR_EXTENSION}
COMPONENT libraries_${MSVC_ARCH}