aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/sbp/win32-install-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/sbp/win32-install-fix.patch')
-rw-r--r--vcpkg/ports/sbp/win32-install-fix.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/vcpkg/ports/sbp/win32-install-fix.patch b/vcpkg/ports/sbp/win32-install-fix.patch
new file mode 100644
index 0000000..5c880d3
--- /dev/null
+++ b/vcpkg/ports/sbp/win32-install-fix.patch
@@ -0,0 +1,27 @@
+commit 6023d12ca2df861b134b345151d2463a963e50c4
+Author: Rodrigo Reichert <rodrigo.reichert@swift-nav.com>
+Date: Wed Aug 4 13:24:43 2021 +1000
+
+ ESD-2166 Fix windows install dll directory (#1061)
+
+diff --git a/c/src/CMakeLists.txt b/c/src/CMakeLists.txt
+index b00fa523..1019683f 100644
+--- a/c/src/CMakeLists.txt
++++ b/c/src/CMakeLists.txt
+@@ -27,9 +27,13 @@ if (MINGW)
+ endif()
+ endif()
+
+-install(TARGETS sbp
+- EXPORT sbp-export
+- DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR})
++install(
++ TARGETS sbp
++ EXPORT sbp-export
++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
++)
+ install(DIRECTORY "${PROJECT_SOURCE_DIR}/include/libsbp/" DESTINATION "${CMAKE_INSTALL_FULL_INCLUDEDIR}/libsbp")
+
+ export(EXPORT sbp-export