summaryrefslogtreecommitdiff
path: root/clucene
diff options
context:
space:
mode:
authorDavid Ostrovsky <David.Ostrovsky@gmx.de>2012-05-24 22:54:07 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-05-28 09:57:24 +0300
commitbb4ae4abb5c01b1fd1e704e19b7913c286642899 (patch)
tree07a5c37b430c60c085e5334214cc6b95951a6cb6 /clucene
parentb5f066e64a49aa007e04dc57dc0bbd0857ca0e2f (diff)
CLucene contribs-lib artifacts were missing during system wide installation
Change-Id: I11e9b17336a16bfcaceebe7613c156ff3e2b94d1
Diffstat (limited to 'clucene')
-rw-r--r--clucene/patches/contribs-lib-makefile.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/clucene/patches/contribs-lib-makefile.patch b/clucene/patches/contribs-lib-makefile.patch
new file mode 100644
index 000000000000..8cc05aea4cfb
--- /dev/null
+++ b/clucene/patches/contribs-lib-makefile.patch
@@ -0,0 +1,23 @@
+--- src/contribs-lib/CMakeLists.txt 2012-05-24 22:38:20.002443317 +0200
++++ src/contribs-lib/CMakeLists.txt 2012-05-24 22:38:05.218443899 +0200
+@@ -113,3 +113,20 @@
+ COMPILE_DEFINITIONS_DEBUG _DEBUG
+ )
+
++#install lib
++install(TARGETS clucene-contribs-lib
++ DESTINATION ${LIB_DESTINATION}
++ COMPONENT runtime )
++
++#install public headers.
++FOREACH(file ${HEADERS})
++ get_filename_component(apath ${file} PATH)
++ get_filename_component(aname ${file} NAME)
++ file(RELATIVE_PATH relpath ${CMAKE_SOURCE_DIR}/src/contribs-lib ${apath})
++ IF ( NOT aname MATCHES "^_.*" )
++ install(FILES ${file}
++ DESTINATION include/${relpath}
++ COMPONENT development)
++ ENDIF ( NOT aname MATCHES "^_.*" )
++ENDFOREACH(file)
++