summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2024-01-06 06:47:01 (GMT)
committerBrad King <brad.king@kitware.com>2024-01-08 17:51:02 (GMT)
commit925f9f18dd52977bef9e7f36efd08f5aa727f500 (patch)
tree52cc536f85a0b02f650d83022cfa20ce8e4a2159 /Help/manual
parenta8c09ab5f5235caf17544a38fb228378a698f6c6 (diff)
downloadCMake-925f9f18dd52977bef9e7f36efd08f5aa727f500.zip
CMake-925f9f18dd52977bef9e7f36efd08f5aa727f500.tar.gz
CMake-925f9f18dd52977bef9e7f36efd08f5aa727f500.tar.bz2
Help: INSTALL_PREFIX in install(CODE|SCRIPT) was added in CMake 3.27
In commit 18e02ace5b (install(CODE|SCRIPT): Support $<INSTALL_PREFIX> genex, 2023-02-24, v3.27.0-rc1~431^2) we documented the feature without stating what version added it.
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake-generator-expressions.7.rst11
1 files changed, 7 insertions, 4 deletions
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst
index 3e58b31..a0b5b66 100644
--- a/Help/manual/cmake-generator-expressions.7.rst
+++ b/Help/manual/cmake-generator-expressions.7.rst
@@ -2333,10 +2333,13 @@ Export And Install Expressions
Content of the install prefix when the target is exported via
:command:`install(EXPORT)`, or when evaluated in the
- :prop_tgt:`INSTALL_NAME_DIR` property, the ``INSTALL_NAME_DIR`` argument of
- :command:`install(RUNTIME_DEPENDENCY_SET)`, the code argument of
- :command:`install(CODE)`, or the file argument of :command:`install(SCRIPT)`,
- and empty otherwise.
+ :prop_tgt:`INSTALL_NAME_DIR` property or the ``INSTALL_NAME_DIR`` argument of
+ :command:`install(RUNTIME_DEPENDENCY_SET)`, and empty otherwise.
+
+ .. versionchanged:: 3.27
+ Evaluates to the content of the install prefix
+ in the code argument of :command:`install(CODE)` or
+ the file argument of :command:`install(SCRIPT)`.
Multi-level Expression Evaluation
---------------------------------