aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/marisa-trie/fix-install.patch
blob: 1465f3802e37be1cd072ac4f596ed911e6f2ed72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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()