diff options
author | Brad King <brad.king@kitware.com> | 2022-03-23 13:32:05 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-03-23 13:32:10 (GMT) |
commit | 3b1efedc400f5b93467b4479edf5b3aec4bfa562 (patch) | |
tree | 2ae9c119648f9761aa383e6a6d4245760ec68b6c /Help | |
parent | 2aad4cef979bd5174f067424a117fac765e3da34 (diff) | |
parent | 26caa97057445232ce50d4e1de1dff219ae5826b (diff) | |
download | CMake-3b1efedc400f5b93467b4479edf5b3aec4bfa562.zip CMake-3b1efedc400f5b93467b4479edf5b3aec4bfa562.tar.gz CMake-3b1efedc400f5b93467b4479edf5b3aec4bfa562.tar.bz2 |
Merge topic 'initialize-property-name' into release-3.23
26caa97057 define_property(): Change constraints of INITIALIZE_FROM_VARIABLE
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7103
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/define_property.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Help/command/define_property.rst b/Help/command/define_property.rst index c882347..76b060b 100644 --- a/Help/command/define_property.rst +++ b/Help/command/define_property.rst @@ -69,5 +69,7 @@ project via corresponding options to the :command:`get_property` command. The ``INITIALIZE_FROM_VARIABLE`` option specifies a variable from which the property should be initialized. It can only be used with target properties. - The ``<variable>`` name must end with the property name, must have a prefix - before the property name, and must not begin with ``CMAKE_`` or ``_CMAKE_``. + The ``<variable>`` name must end with the property name and must not begin + with ``CMAKE_`` or ``_CMAKE_``. The property name must contain at least one + underscore. It is recommended that the property name have a prefix specific + to the project. |