aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/marisa-trie/fix-install.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/marisa-trie/fix-install.patch')
-rw-r--r--vcpkg/ports/marisa-trie/fix-install.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/vcpkg/ports/marisa-trie/fix-install.patch b/vcpkg/ports/marisa-trie/fix-install.patch
new file mode 100644
index 0000000..1465f38
--- /dev/null
+++ b/vcpkg/ports/marisa-trie/fix-install.patch
@@ -0,0 +1,28 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 1fce4fb..e56f0a2 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -256,20 +256,21 @@ endif()
+ install(
+ TARGETS marisa
+ EXPORT MarisaTargets
+- DESTINATION ${LIB_INSTALL_DIR}
+- COMPONENT Library
++ RUNTIME DESTINATION bin
++ LIBRARY DESTINATION ${LIB_INSTALL_DIR}
++ ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
+ )
+ install(
+ DIRECTORY include/
+ DESTINATION include
+ COMPONENT Library
+ FILES_MATCHING PATTERN "*.h"
+ )
+
+ if(ENABLE_TOOLS)
+ install(
+ TARGETS ${MARISA_TOOLS}
+ COMPONENT Binaries
+ )
+ endif()
+