summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorWilfried Goesgens <willi@arangodb.com>2017-02-21 14:33:06 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-21 15:32:25 (GMT)
commit4b21290e204d02dd39f6ac404ba923d546f40925 (patch)
tree62e9b68f2d94cd918af189f52f010e89c6c8a870 /Modules
parent6cbad490c2fdbd9bdc67b406b9f2dcdc21e08ddb (diff)
downloadCMake-4b21290e204d02dd39f6ac404ba923d546f40925.zip
CMake-4b21290e204d02dd39f6ac404ba923d546f40925.tar.gz
CMake-4b21290e204d02dd39f6ac404ba923d546f40925.tar.bz2
ExternalProject: Clarify documented role of `INSTALL_COMMAND`
It is for the install step of the external project and does not affect installation of the calling project.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/ExternalProject.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index 458c114..325fbc3 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -176,7 +176,11 @@ Create custom targets to build projects in external trees
``INSTALL_DIR <dir>``
Installation prefix
``INSTALL_COMMAND <cmd>...``
- Command to drive install after build
+ Command to drive installation of the external project after it has been
+ built. This only happens at the *build* time of the calling project.
+ In order to install files from the external project alongside the
+ locally-built files, a separate local :command:`install` call must be
+ added to pick the files up from one of the external project trees.
Test step options are: