aboutsummaryrefslogtreecommitdiff
path: root/ports/cppkafka/fix-dynamic.patch
diff options
context:
space:
mode:
authorNancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>2019-09-27 09:48:09 -0700
committerCurtis J Bezault <curtbezault@gmail.com>2019-09-27 09:48:09 -0700
commit50b49af28a7ab619b341f3ba20d47592d302baab (patch)
tree0c6c42276a2ec65ee5183827af15fd143f7f7592 /ports/cppkafka/fix-dynamic.patch
parentadfa6fd359e9d14e6697e25ada4fae5a3beebd85 (diff)
downloadvcpkg-50b49af28a7ab619b341f3ba20d47592d302baab.tar.gz
vcpkg-50b49af28a7ab619b341f3ba20d47592d302baab.zip
[cppkafka] Fix dynamic build. (#8073)
* [cppkafka] Fix dynamic build. * [cppkafka] Remove CPPKAFKA_BOOST_STATIC_LIBS * Remove CPPKAFKA_RDKAFKA_STATIC_LIB option
Diffstat (limited to 'ports/cppkafka/fix-dynamic.patch')
-rw-r--r--ports/cppkafka/fix-dynamic.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/cppkafka/fix-dynamic.patch b/ports/cppkafka/fix-dynamic.patch
new file mode 100644
index 000000000..e19188e27
--- /dev/null
+++ b/ports/cppkafka/fix-dynamic.patch
@@ -0,0 +1,12 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 5d31078..b1d3634 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -43,6 +43,7 @@ target_include_directories(cppkafka PUBLIC ${PROJECT_SOURCE_DIR}/include)
+
+ install(
+ TARGETS cppkafka
++ RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib
+ COMPONENT dev