|
@@ -30,13 +30,20 @@ signatures that specify them. The common options are:
|
|
|
|
|
|
|
|
``DESTINATION``
|
|
``DESTINATION``
|
|
|
Specify the directory on disk to which a file will be installed.
|
|
Specify the directory on disk to which a file will be installed.
|
|
|
- If a full path (with a leading slash or drive letter) is given
|
|
|
|
|
- it is used directly. If a relative path is given it is interpreted
|
|
|
|
|
- relative to the value of the :variable:`CMAKE_INSTALL_PREFIX` variable.
|
|
|
|
|
|
|
+ Arguments can be relative or absolute paths.
|
|
|
|
|
+
|
|
|
|
|
+ If 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``
|
|
The prefix can be relocated at install time using the ``DESTDIR``
|
|
|
mechanism explained in the :variable:`CMAKE_INSTALL_PREFIX` variable
|
|
mechanism explained in the :variable:`CMAKE_INSTALL_PREFIX` variable
|
|
|
documentation.
|
|
documentation.
|
|
|
|
|
|
|
|
|
|
+ If an absolute path (with a leading slash or drive letter) is given
|
|
|
|
|
+ it is used verbatim.
|
|
|
|
|
+
|
|
|
|
|
+ As absolute paths are not supported by :manual:`cpack <cpack(1)>` installer
|
|
|
|
|
+ generators, it is preferable to use relative paths throughout.
|
|
|
|
|
+
|
|
|
``PERMISSIONS``
|
|
``PERMISSIONS``
|
|
|
Specify permissions for installed files. Valid permissions are
|
|
Specify permissions for installed files. Valid permissions are
|
|
|
``OWNER_READ``, ``OWNER_WRITE``, ``OWNER_EXECUTE``, ``GROUP_READ``,
|
|
``OWNER_READ``, ``OWNER_WRITE``, ``OWNER_EXECUTE``, ``GROUP_READ``,
|