Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-93604

Qt needs to add find_package(.... MODULE ...) ....

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.1.0
    • Build System: CMake
    • None
    • All

    Description

      Qt needs to add

      find_(package|dependency)(.... MODULE ...) 

      for all packages which are expected to be found via CMake module mode. Otherwise if a user uses 

      set(CMAKE_FIND_PACKAGE_PREFER_CONFIG ON)

      it might break Qt's internal find_package calls if a config with the same name exists as happened here: zstd target issues

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtbuildsystem Qt Build System Team
              neumann-a Alexander Neumann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes