gentoo/dev-cpp/lucene++/files/lucene++-3.0.9-no-pch.patch
Holger Hoffstätte a69277266d
dev-cpp/lucene++: more test fixes
- fix thread pool shutdown
- reenable previously excluded tests
- fix ODR violations in test mocks, unfilter LTO
- properly handle deprecated boost-bind version
- remove precompiled header support

Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/739
Merges: https://codeberg.org/gentoo/gentoo/pulls/739
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-26 20:51:09 +01:00

52 lines
1.6 KiB
Diff

Remove precompiled header support as per Gentoo QA policy.
Bug: https://bugs.gentoo.org/920845
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7ce313c..cb2e0c4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,9 +32,6 @@ set(LIB_DESTINATION
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(options.cmake)
-# pre-compiled headers support
-include(cotire)
-
# if setup using the Toolchain-llvm.cmake file, then use llvm...
if(ENABLE_LLVM)
include(Toolchain-llvm)
diff --git a/src/contrib/CMakeLists.txt b/src/contrib/CMakeLists.txt
index 7252b73..fa4bc1a 100644
--- a/src/contrib/CMakeLists.txt
+++ b/src/contrib/CMakeLists.txt
@@ -89,8 +89,6 @@ set_target_properties(lucene++-contrib
VERSION ${lucene++_VERSION}
SOVERSION ${lucene++_SOVERSION})
-cotire(lucene++-contrib)
-
install(TARGETS lucene++-contrib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
COMPONENT runtime)
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 657de54..564286d 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -78,7 +78,6 @@ set_target_properties(lucene++
VERSION ${lucene++_VERSION}
SOVERSION ${lucene++_SOVERSION})
-cotire(lucene++)
install(TARGETS lucene++
diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt
index a5c1b28..2e9f574 100644
--- a/src/test/CMakeLists.txt
+++ b/src/test/CMakeLists.txt
@@ -75,4 +75,3 @@ target_link_libraries(lucene++-tester
####################################
target_compile_options(lucene++-tester PRIVATE -DLPP_EXPOSE_INTERNAL)
-cotire(lucene++-tester)