From 27383285a168c9d7856a5291855dbd63531b5134 Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Wed, 7 Feb 2024 10:18:54 +0800 Subject: [PATCH] cmake: improve documentation of NO_PCH_SOURCES Add the reference to unity builds in the documentation of NO_PCH_SOURCES to fully describe the semantics. Change-Id: Icfd3ee401efa154da4b8ed9a307d29f2605d948a Reviewed-by: Marc Mutz --- cmake/QtTargetHelpers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/QtTargetHelpers.cmake b/cmake/QtTargetHelpers.cmake index 9fec179c3cd..effc679a576 100644 --- a/cmake/QtTargetHelpers.cmake +++ b/cmake/QtTargetHelpers.cmake @@ -19,7 +19,7 @@ # EXTRA_LINKER_SCRIPT_EXPORTS # Extra content that should be added to export section of the linker script. # NO_PCH_SOURCES -# Skip the specified source files by PRECOMPILE_HEADERS feature. +# Exclude the specified source files from PRECOMPILE_HEADERS and UNITY_BUILD builds. function(qt_internal_extend_target target) if(NOT TARGET "${target}") message(FATAL_ERROR "${target} is not a target.")