blob: eb23fc0e148eb27b88bab0d1aadf17e7fd32b28d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
Remove CONFIGURATIONS Release from install() so the library and tools
are installed regardless of the cmake build type (e.g. RelWithDebInfo).
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -258,7 +258,6 @@
install(
TARGETS marisa
EXPORT MarisaTargets
- CONFIGURATIONS Release
DESTINATION ${LIB_INSTALL_DIR}
COMPONENT Library
)
@@ -272,7 +271,6 @@
if(ENABLE_TOOLS)
install(
TARGETS ${MARISA_TOOLS}
- CONFIGURATIONS Release
COMPONENT Binaries
)
endif()
|