summaryrefslogtreecommitdiff
blob: 81a3c531d1c0d1e853e989056c43a31608386c1b (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
29
30
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 6084f2f..7529b41 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -222,8 +222,6 @@ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/CLuceneConfig.cmake" "
     set(CLUCENE_VERSION ${CLUCENE_VERSION})
     set(CLUCENE_SOVERSION ${CLUCENE_SOVERSION})
 ")
-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/CLuceneConfig.cmake"
-        DESTINATION ${LIB_DESTINATION}/CLuceneConfig.cmake)
 
 # install pkg-config file
 IF(NOT WIN32)
@@ -238,16 +236,10 @@ IF ( LUCENE_SYS_INCLUDES )
     install(FILES ${clucene-shared_BINARY_DIR}/CLucene/clucene-config.h 
             DESTINATION ${LUCENE_SYS_INCLUDES}/CLucene  
             COMPONENT development)
-    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/CLuceneConfig.cmake 
-            DESTINATION ${LUCENE_SYS_INCLUDES}/CLucene  
-            COMPONENT development)
 ELSE ( LUCENE_SYS_INCLUDES )
     install(FILES ${clucene-shared_BINARY_DIR}/CLucene/clucene-config.h 
             DESTINATION include/CLucene
             COMPONENT development)
-    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/CLuceneConfig.cmake 
-            DESTINATION include/CLucene
-            COMPONENT development)
 ENDIF ( LUCENE_SYS_INCLUDES )