summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-09-12 11:57:14 -0400
committerKyle Edwards <kyle.edwards@kitware.com>2018-09-19 11:23:08 -0400
commitfd28ea35ca5f62e52d030288bf60ca6fe769cb96 (patch)
tree279738df164b73f58eb040deadeaf14c563a618b /Modules
parent3925407e76856c6e6bc6090fdee09a1008462840 (diff)
downloadcmake-fd28ea35ca5f62e52d030288bf60ca6fe769cb96.tar.gz
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.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/BundleUtilities.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/BundleUtilities.cmake b/Modules/BundleUtilities.cmake
index f271521173..191149cdbd 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>)