Skip to content
  • Brad King's avatar
    ENH: Refactor find_* command framework/appbundle search order impl. · 6706f84c
    Brad King authored
      - CMAKE_FIND_FRAMEWORK and CMAKE_FIND_APPBUNDLE are supposed to specify
        whether to find frameworks/appbundles FIRST, LAST, ONLY, or NEVER.
      - Previously this affected only the placement of CMAKE_FRAMEWORK_PATH
        and CMAKE_APPBUNDLE_PATH with respect to the other path specifiers.
      - Now it behaves as documented.  The entire search path is inspected for
        each kind of program, library, or header before trying the next kind.
      - Additionally the ONLY mode is now honored for headers so that users
        do not end up with a library in framework and a header from elsewhere.
    6706f84c