summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-09-12 15:57:14 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2018-09-19 15:23:08 (GMT)
commitfd28ea35ca5f62e52d030288bf60ca6fe769cb96 (patch)
tree279738df164b73f58eb040deadeaf14c563a618b
parent3925407e76856c6e6bc6090fdee09a1008462840 (diff)
downloadCMake-fd28ea35ca5f62e52d030288bf60ca6fe769cb96.zip
CMake-fd28ea35ca5f62e52d030288bf60ca6fe769cb96.tar.gz
CMake-fd28ea35ca5f62e52d030288bf60ca6fe769cb96.tar.bz2
Help: Add note for BundleUtilities usage
The macros defined in BundleUtilities are intended to be used from an install() rule rather than at configure time. Add a note clarifying this.
-rw-r--r--Modules/BundleUtilities.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/BundleUtilities.cmake b/Modules/BundleUtilities.cmake
index f271521..191149c 100644
--- a/Modules/BundleUtilities.cmake
+++ b/Modules/BundleUtilities.cmake
@@ -35,6 +35,10 @@ The following functions are provided by this module:
Requires CMake 2.6 or greater because it uses function, break and
PARENT_SCOPE. Also depends on GetPrerequisites.cmake.
+DO NOT USE THESE FUNCTIONS AT CONFIGURE TIME (from ``CMakeLists.txt``)!
+Instead, invoke them from an :command:`install(CODE)` or
+:command:`install(SCRIPT)` rule.
+
::
FIXUP_BUNDLE(<app> <libs> <dirs>)