summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorTim Blechmann <tim@klingt.org>2024-02-07 10:18:54 +0800
committerMarc Mutz <marc.mutz@qt.io>2024-02-08 10:12:09 +0000
commit27383285a168c9d7856a5291855dbd63531b5134 (patch)
tree7554a2b91fe03f4fe892957d9f031848aae463ef /cmake
parent381d6b5ac909b0f1a03f1f74b1e97b0a70abf43f (diff)
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 <marc.mutz@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtTargetHelpers.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtTargetHelpers.cmake b/cmake/QtTargetHelpers.cmake
index 9fec179c3c..effc679a57 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.")