CMP0080ΒΆ

New in version 3.13.

BundleUtilities cannot be included at configure time.

The macros provided by BundleUtilities are intended to be invoked at install time rather than at configure time, because they depend on the listed targets already existing at the time they are invoked. If they are invoked at configure time, the targets haven't been built yet, and the commands will fail.

This policy restricts the inclusion of BundleUtilities to cmake -P style scripts and install rules. Specifically, it looks for the presence of CMAKE_GENERATOR and throws a fatal error if it exists.

The OLD behavior of this policy is to allow BundleUtilities to be included at configure time. The NEW behavior of this policy is to disallow such inclusion.

This policy was introduced in CMake version 3.13. It may be set by cmake_policy() or cmake_minimum_required(). If it is not set, CMake warns, and uses OLD behavior.

Note

The OLD behavior of a policy is deprecated by definition and may be removed in a future version of CMake.