summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-01-03 23:17:05 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-01-10 12:00:52 +0100
commit3867345f8c2d9f24157508bc6372f479a82cf33f (patch)
tree449fc99c020366fab87a564b76050cb3e94199e0
parentcmake.eclass: Set FETCHCONTENT_FULLY_DISCONNECTED=ON (diff)
downloadgentoo-3867345f8c2d9f24157508bc6372f479a82cf33f.tar.gz
gentoo-3867345f8c2d9f24157508bc6372f479a82cf33f.tar.bz2
gentoo-3867345f8c2d9f24157508bc6372f479a82cf33f.zip
cmake.eclass: Set CMAKE_DISABLE_PRECOMPILE_HEADERS=ON
Closes: https://bugs.gentoo.org/920845 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--eclass/cmake.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index 7ba22ce5f431..ef5e6dd678a1 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -542,6 +542,7 @@ cmake_src_configure() {
set(BUILD_SHARED_LIBS ON CACHE BOOL "")
set(Python3_FIND_UNVERSIONED_NAMES FIRST CACHE STRING "")
set(FETCHCONTENT_FULLY_DISCONNECTED ON CACHE BOOL "")
+ set(CMAKE_DISABLE_PRECOMPILE_HEADERS ON CACHE BOOL "")
_EOF_
if [[ -n ${_ECM_ECLASS} ]]; then