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.
This commit is contained in:
Kyle Edwards
2018-09-12 11:57:14 -04:00
parent 3925407e76
commit fd28ea35ca

View File

@@ -35,6 +35,10 @@ The following functions are provided by this module:
Requires CMake 2.6 or greater because it uses function, break and Requires CMake 2.6 or greater because it uses function, break and
PARENT_SCOPE. Also depends on GetPrerequisites.cmake. 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>) FIXUP_BUNDLE(<app> <libs> <dirs>)