You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After extending the list of cmake module mappings recently (#628), find_package scanning has improved significantly.
The scanning can be further improved by scanning for COMPONENTS passed to find_package specifically for the Qt5 and KF5 packages. For those packages, each component indicates a module name, and that name is produced by appending the component name to the package name. For example, find_package(Qt5 ... COMPONENTS Core) should return the modules Qt5 and Qt5Core instead of just Qt5.
More extended examples can be found in this CMakeLists.txt; in particular, scanning these two commands:
After extending the list of cmake module mappings recently (#628),
find_package
scanning has improved significantly.The scanning can be further improved by scanning for COMPONENTS passed to
find_package
specifically for theQt5
andKF5
packages. For those packages, each component indicates a module name, and that name is produced by appending the component name to the package name. For example,find_package(Qt5 ... COMPONENTS Core)
should return the modulesQt5
andQt5Core
instead of justQt5
.More extended examples can be found in this CMakeLists.txt; in particular, scanning these two commands:
should produce these modules:
The text was updated successfully, but these errors were encountered: