aboutsummaryrefslogtreecommitdiff
path: root/ports/mosquitto/archive-dest.patch
diff options
context:
space:
mode:
authorNancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>2020-01-21 15:42:42 -0800
committerVictor Romero <romerosanchezv@gmail.com>2020-01-21 15:42:42 -0800
commit3f62e5d55d1a7d8905df35d5c441d6e9ad64ffdf (patch)
tree55d66a78d4254143bf4213158b97ec7005497552 /ports/mosquitto/archive-dest.patch
parent70ee8b83e52ffd4530c27696cd99f4fb874ccb0b (diff)
downloadvcpkg-3f62e5d55d1a7d8905df35d5c441d6e9ad64ffdf.tar.gz
vcpkg-3f62e5d55d1a7d8905df35d5c441d6e9ad64ffdf.zip
[mosquitto] Install mosquittopp.lib to dest (#9754)
Diffstat (limited to 'ports/mosquitto/archive-dest.patch')
-rw-r--r--ports/mosquitto/archive-dest.patch17
1 files changed, 15 insertions, 2 deletions
diff --git a/ports/mosquitto/archive-dest.patch b/ports/mosquitto/archive-dest.patch
index 11a9ccce4..40d6c1f6d 100644
--- a/ports/mosquitto/archive-dest.patch
+++ b/ports/mosquitto/archive-dest.patch
@@ -1,8 +1,8 @@
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
-index 221c230..1bd4e96 100644
+index e1521f1..bd60b75 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
-@@ -89,7 +89,7 @@ set_target_properties(libmosquitto PROPERTIES
+@@ -87,7 +87,7 @@ set_target_properties(libmosquitto PROPERTIES
SOVERSION 1
)
@@ -11,3 +11,16 @@ index 221c230..1bd4e96 100644
if (WITH_STATIC_LIBRARIES)
add_library(libmosquitto_static STATIC ${C_SRC})
+diff --git a/lib/cpp/CMakeLists.txt b/lib/cpp/CMakeLists.txt
+index b39ac3f..5805244 100644
+--- a/lib/cpp/CMakeLists.txt
++++ b/lib/cpp/CMakeLists.txt
+@@ -13,7 +13,7 @@ set_target_properties(mosquittopp PROPERTIES
+ VERSION ${VERSION}
+ SOVERSION 1
+ )
+-install(TARGETS mosquittopp RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")
++install(TARGETS mosquittopp RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}")
+
+ if (WITH_STATIC_LIBRARIES)
+ add_library(mosquittopp_static STATIC