[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.
authorVagrant Cascadian <vagrant@reproducible-builds.org>
Fri, 25 Feb 2022 03:00:05 +0000 (03:00 +0000)
committerPatrick Franz <deltaone@debian.org>
Sun, 8 Dec 2024 21:49:21 +0000 (22:49 +0100)
The original build path should not be needed in the shipped package,
and causes reproducibility issues when built in different paths.

https://reproducible-builds.org/docs/build-path/

Gbp-Pq: Name build_path_embedded_qtbuildinternalsextra_cmake.patch

cmake/QtBuildInternalsExtra.cmake.in

index 8985f8178a9b031bbfd6856623d7060dca55c916..a897a9482883e8e840633ea976e9aea018e1d385 100644 (file)
@@ -77,9 +77,6 @@ endif()
 set(QT_WILL_INSTALL @QT_WILL_INSTALL@ CACHE BOOL
     "Boolean indicating if doing a Qt prefix build (vs non-prefix build)." FORCE)
 
-set(QT_SOURCE_TREE "@QT_SOURCE_TREE@" CACHE PATH
-"A path to the source tree of the previously configured QtBase project." FORCE)
-
 # Propagate decision of building tests and examples to other repositories.
 set(QT_BUILD_TESTS @QT_BUILD_TESTS@ CACHE BOOL "Build the testing tree.")
 set(QT_BUILD_EXAMPLES @QT_BUILD_EXAMPLES@ CACHE BOOL "Build Qt examples")