From fd28ea35ca5f62e52d030288bf60ca6fe769cb96 Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Wed, 12 Sep 2018 11:57:14 -0400 Subject: 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. --- Modules/BundleUtilities.cmake | 4 ++++ 1 file changed, 4 insertions(+) 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( ) -- cgit v0.12