summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2022-04-06 20:40:34 (GMT)
committerBrad King <brad.king@kitware.com>2022-04-07 13:26:58 (GMT)
commitf779f8c0ad4c16cda5a166d440915a01e986d396 (patch)
treebd82cc9e14e10efdb88e7e277642089ee1e73d10 /Help/command
parent42bca07cc67d42cbc37109a9be208321e7ebc620 (diff)
downloadCMake-f779f8c0ad4c16cda5a166d440915a01e986d396.zip
CMake-f779f8c0ad4c16cda5a166d440915a01e986d396.tar.gz
CMake-f779f8c0ad4c16cda5a166d440915a01e986d396.tar.bz2
FILE_SET: Forbid adding header sets to Apple FRAMEWORK libraries
The feature needs a specialized implementation to place headers in the right place inside frameworks. To avoid silently doing the wrong thing, make this case an error for the 3.23 series. Issue: #23386
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/target_sources.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/command/target_sources.rst b/Help/command/target_sources.rst
index 6ad86e3..1ad6c37 100644
--- a/Help/command/target_sources.rst
+++ b/Help/command/target_sources.rst
@@ -77,7 +77,7 @@ have zero or more named file sets. Each file set has a name, a type, a scope of
``INTERFACE``, ``PUBLIC``, or ``PRIVATE``, one or more base directories, and
files within those directories. The only acceptable type is ``HEADERS``. The
optional default file sets are named after their type. The target may not be a
-custom target.
+custom target or :prop_tgt:`FRAMEWORK` target.
Files in a ``PRIVATE`` or ``PUBLIC`` file set are marked as source files for
the purposes of IDE integration. Additionally, files in ``HEADERS`` file sets