mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-05 07:10:26 +00:00
Merge topic 'error_on_absolute_install_paths'
39a56136a3Diagnostic: Add warn or error on absolute install pathsfd76089631cmInstallFileSetGenerator: Only support per config Destination. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !11882
This commit is contained in:
@@ -60,6 +60,11 @@ signatures that specify them. The common options are:
|
||||
``<dir>`` should be a relative path. An absolute path is allowed,
|
||||
but not recommended.
|
||||
|
||||
.. versionadded:: 4.4
|
||||
The :ref:`CMD_INSTALL_ABSOLUTE_DESTINATION <CMD_INSTALL_ABSOLUTE_DESTINATION>`
|
||||
diagnostic can be enabled to warn or error out when an absolute destination
|
||||
is provided.
|
||||
|
||||
When a relative path is given, it is interpreted relative to the value
|
||||
of the :variable:`CMAKE_INSTALL_PREFIX` variable.
|
||||
The prefix can be relocated at install time using the ``DESTDIR``
|
||||
|
||||
Reference in New Issue
Block a user