SHA256
1
0
forked from pool/lucene__
Files
lucene__/lucene++-3.0.8-fix-contrib-soname.patch
Jan Engelhardt 8436ef52f6 Accepting request 863899 from home:1Antoine1:branches:devel:libraries:c_c++
- Update to version 3.0.8:
  * No changelog provided.
- Remove 0001-Fix-compilation-with-Boost-1.58.patch: Merged
  upstream.
- Add some patches from upstream, mainly build system fixes:
  * lucene++-3.0.8-fix-contrib-soname.patch
  * lucene++-3.0.8-fix-pc-libdir.patch
  * lucene++-3.0.8-fix-cmake-issues.patch
- Require CMake >= 3.5 to build.
- Run test suite on build.
- Add new cmake files to list of installed files.

OBS-URL: https://build.opensuse.org/request/show/863899
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/lucene++?expand=0&rev=12
2021-01-17 22:43:08 +00:00

25 lines
943 B
Diff

From 5c06dc53560668606b72fa0e673c9eb96948ff39 Mon Sep 17 00:00:00 2001
From: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Date: Mon, 4 Jan 2021 15:47:21 +0100
Subject: [PATCH] CMakeLists.txt: fix typo preventing lucene++-contrib library
symlink from being created correctly
The SONAME/SOVERSION weren't evaluated and set correctly because of the wrong target name.
---
src/contrib/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/contrib/CMakeLists.txt b/src/contrib/CMakeLists.txt
index 46ed8a24..afeccb4e 100644
--- a/src/contrib/CMakeLists.txt
+++ b/src/contrib/CMakeLists.txt
@@ -77,7 +77,7 @@ endif()
####################################
target_compile_options(lucene++-contrib PRIVATE -DLPP_BUILDING_LIB)
-set_target_properties(lucene++
+set_target_properties(lucene++-contrib
PROPERTIES
COTIRE_CXX_PREFIX_HEADER_INIT "include/ContribInc.h"
CXX_VISIBILITY_PRESET hidden