diff options
Diffstat (limited to 'Help/command/get_directory_property.rst')
-rw-r--r-- | Help/command/get_directory_property.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Help/command/get_directory_property.rst b/Help/command/get_directory_property.rst index 39015cc..0ccbfb0 100644 --- a/Help/command/get_directory_property.rst +++ b/Help/command/get_directory_property.rst @@ -11,12 +11,14 @@ Stores a property of directory scope in the named ``<variable>``. The ``DIRECTORY`` argument specifies another directory from which to retrieve the property value instead of the current directory. -It may reference either a source directory, or since CMake 3.19, -a binary directory. Relative paths are treated as relative to the +Relative paths are treated as relative to the current source directory. CMake must already know about the directory, either by having added it through a call to :command:`add_subdirectory` or being the top level directory. +.. versionadded:: 3.19 + ``<dir>`` may reference a binary directory. + If the property is not defined for the nominated directory scope, an empty string is returned. In the case of ``INHERITED`` properties, if the property is not found for the nominated directory scope, |