File lucene++-3.0.8-fix-missing-headers.patch of Package lucene++

diff -Nur a/src/contrib/CMakeLists.txt b/src/contrib/CMakeLists.txt
--- a/src/contrib/CMakeLists.txt	2020-12-29 20:10:43.000000000 +0800
+++ b/src/contrib/CMakeLists.txt	2021-06-08 13:50:28.225527544 +0800
@@ -3,6 +3,8 @@
 ####################################
 # create library target
 ####################################
+add_subdirectory(include)
+
 if (LUCENE_BUILD_SHARED)
   add_library(lucene++-contrib SHARED)
 else()
@@ -94,4 +96,5 @@
 install(
   FILES ${contrib_headers}
   DESTINATION "include/lucene++"
+  DESTINATION "src/contrib/include"
   COMPONENT development-contrib)
diff -Nur a/src/contrib/include/CMakeLists.txt b/src/contrib/include/CMakeLists.txt
--- a/src/contrib/include/CMakeLists.txt	1970-01-01 08:00:00.000000000 +0800
+++ b/src/contrib/include/CMakeLists.txt	2020-12-29 20:10:43.000000000 +0800
@@ -0,0 +1,11 @@
+####################################
+# install headers
+####################################
+
+file(GLOB_RECURSE lucene_headers
+  "${CMAKE_CURRENT_SOURCE_DIR}/*.h"
+)
+
+install(
+  FILES ${lucene_headers}
+  DESTINATION include/lucene++ )
openSUSE Build Service is sponsored by