[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>
Sat, 13 Jan 2024 13:53:25 +0000 (14:53 +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 8257bacf74d00ea29031fa9bdc0b8a94ac8160f6..1dc5f937638c1fd4a75556021c3b51d7f0205e85 100644 (file)
@@ -75,9 +75,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")