File tree Expand file tree Collapse file tree 5 files changed +15
-21
lines changed Expand file tree Collapse file tree 5 files changed +15
-21
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ if(NOT WIN32)
9
9
install (
10
10
FILES
11
11
"${CMAKE_CURRENT_BINARY_DIR} /liblucene++-contrib.pc"
12
- DESTINATION " ${LIB_DESTINATION } /pkgconfig" )
12
+ DESTINATION { ${CMAKE_INSTALL_LIBDIR } /pkgconfig)
13
13
endif ()
14
14
15
15
@@ -31,4 +31,4 @@ install(
31
31
FILES
32
32
"${CMAKE_CURRENT_BINARY_DIR} /liblucene++-contribConfig.cmake"
33
33
"${CMAKE_CURRENT_BINARY_DIR} /liblucene++-contribConfigVersion.cmake"
34
- DESTINATION "${LIB_DESTINATION } /cmake/liblucene++-contrib" )
34
+ DESTINATION "${CMAKE_INSTALL_LIBDIR } /cmake/liblucene++-contrib" )
Original file line number Diff line number Diff line change @@ -31,4 +31,4 @@ install(
31
31
FILES
32
32
"${CMAKE_CURRENT_BINARY_DIR} /liblucene++Config.cmake"
33
33
"${CMAKE_CURRENT_BINARY_DIR} /liblucene++ConfigVersion.cmake"
34
- DESTINATION " ${LIB_DESTINATION } /cmake/liblucene++" )
34
+ DESTINATION ${CMAKE_INSTALL_LIBDIR } /cmake/liblucene++)
Original file line number Diff line number Diff line change @@ -27,9 +27,8 @@ file(GLOB_RECURSE contrib_sources
27
27
"snowball/libstemmer_c/runtime/*.c"
28
28
)
29
29
30
- file (GLOB_RECURSE contrib_headers
31
- "${lucene++-lib_SOURCE_DIR}/include/*.h"
32
- )
30
+ file (GLOB_RECURSE contrib_headers
31
+ "${lucene++-lib_SOURCE_DIR}/include/*.h" )
33
32
34
33
35
34
@@ -64,8 +63,7 @@ target_link_libraries(lucene++-contrib
64
63
Boost::system
65
64
Boost::thread
66
65
ZLIB::ZLIB
67
- lucene++::lucene++
68
- )
66
+ lucene++::lucene++)
69
67
70
68
if (WIN32 )
71
69
target_link_libraries (lucene++-contrib ws2_32)
@@ -88,10 +86,10 @@ set_target_properties(lucene++-contrib
88
86
cotire(lucene++-contrib)
89
87
90
88
install (TARGETS lucene++-contrib
91
- DESTINATION " ${LIB_DESTINATION} "
89
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}
92
90
COMPONENT runtime)
93
91
94
92
install (
95
93
FILES ${contrib_headers}
96
- DESTINATION "include/lucene++"
94
+ LIBRARY DESTINATION "include/lucene++"
97
95
COMPONENT development-contrib)
Original file line number Diff line number Diff line change @@ -83,5 +83,5 @@ cotire(lucene++)
83
83
84
84
85
85
install (TARGETS lucene++
86
- DESTINATION " ${LIB_DESTINATION} "
86
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
87
87
COMPONENT runtime)
Original file line number Diff line number Diff line change 1
1
project (tester)
2
2
3
3
4
- ####################################
5
- # create test bin target
6
- ####################################
7
- add_executable (lucene++-tester)
8
-
9
-
10
4
####################################
11
5
# configure GTest
12
6
####################################
@@ -32,11 +26,13 @@ file(GLOB_RECURSE tester_sources
32
26
"util/*.cpp" )
33
27
34
28
file (GLOB_RECURSE test_headers
35
- "${lucene++-tester_SOURCE_DIR}/include/*.h" )
29
+ "${lucene++-tester_SOURCE_DIR}/include/*.h" )
36
30
37
- target_sources (lucene++-tester
38
- PRIVATE
39
- ${tester_sources} )
31
+ ####################################
32
+ # create test bin target
33
+ ####################################
34
+ add_executable (lucene++-tester
35
+ ${tester_sources} )
40
36
41
37
42
38
####################################
You can’t perform that action at this time.
0 commit comments