cmake/Help/prop_tgt/INSTALL_NAME_DIR.rst

17 lines
591 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
INSTALL_NAME_DIR
----------------
2019-11-11 23:01:05 +01:00
macOS directory name for installed targets.
2014-08-03 19:52:23 +02:00
2019-11-11 23:01:05 +01:00
``INSTALL_NAME_DIR`` is a string specifying the directory portion of the
"install_name" field of shared libraries on macOS to use in the
2014-08-03 19:52:23 +02:00
installed targets.
2018-08-09 18:06:22 +02:00
This property is initialized by the value of the variable
:variable:`CMAKE_INSTALL_NAME_DIR` if it is set when a target is
created.
2020-08-30 11:54:41 +02:00
This property supports :manual:`generator expressions <cmake-generator-expressions(7)>`.
In particular, the ``$<INSTALL_PREFIX>`` generator expression can be used to set the
directory relative to the install-time prefix.