BUILD_WITH_INSTALL_NAME_DIR.rst 574 B

12345678910111213
  1. BUILD_WITH_INSTALL_NAME_DIR
  2. ---------------------------
  3. ``BUILD_WITH_INSTALL_NAME_DIR`` is a boolean specifying whether the macOS
  4. ``install_name`` of a target in the build tree uses the directory given by
  5. :prop_tgt:`INSTALL_NAME_DIR`. This setting only applies to targets on macOS.
  6. This property is initialized by the value of the variable
  7. :variable:`CMAKE_BUILD_WITH_INSTALL_NAME_DIR` if it is set when a target is
  8. created.
  9. If this property is not set and policy :policy:`CMP0068` is not ``NEW``, the
  10. value of :prop_tgt:`BUILD_WITH_INSTALL_RPATH` is used in its place.