Skip to content
  • Stephen Kelly's avatar
    cmake: Future-proof --find-package mode. · a7f393dc
    Stephen Kelly authored
    Create cmGeneratorTargets before generating generate-time information.
    C++ interfaces for querying build information is increasingly only
    available at generate time through the cmGeneratorTarget class.  Ensure
    that the required cmGeneratorTarget instances are created.  Use the
    cmGlobalGenerator access API to access the relevant cmGeneratorTarget
    instead of creating a temporary one on the stack.
    a7f393dc