ExternalProject: Clarify documented role of INSTALL_DIR

It does not actually configure the project to install to the given
location.  That must be done by passing the `<INSTALL_DIR>` placeholder
to the external project configuration step.
This commit is contained in:
Brad King
2017-02-21 10:31:24 -05:00
parent 4b21290e20
commit c95d017f9c

View File

@@ -174,7 +174,10 @@ Create custom targets to build projects in external trees
Install step options are:
``INSTALL_DIR <dir>``
Installation prefix
Installation prefix to be placed in the ``<INSTALL_DIR>`` placeholder.
This does not actually configure the external project to install to
the given prefix. That must be done by passing appropriate arguments
to the external project configuration step, e.g. using ``<INSTALL_DIR>``.
``INSTALL_COMMAND <cmd>...``
Command to drive installation of the external project after it has been
built. This only happens at the *build* time of the calling project.