aboutsummaryrefslogtreecommitdiff
path: root/ports/fastrtps/fix-install.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/fastrtps/fix-install.patch')
-rw-r--r--ports/fastrtps/fix-install.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/fastrtps/fix-install.patch b/ports/fastrtps/fix-install.patch
new file mode 100644
index 000000000..4777ae3ee
--- /dev/null
+++ b/ports/fastrtps/fix-install.patch
@@ -0,0 +1,14 @@
+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}