• Brad King's avatar
    ENH: Cleanup Find* modules with new HINTS feature · e2ec3b67
    Brad King authored
      - The find_* commands now provide a HINTS option.
      - The option specifies paths to be preferred over the system paths.
      - Many Find* modules were using two find calls with NO_DEFAULT_PATH
        to approximate the behavior, but that blocked users from overriding
        things with CMAKE_PREFIX_PATH.
      - This commit uses the HINTS feature to get desired behavior in
        only one find command call.
FindOpenThreads.cmake 4.62 KB