summaryrefslogtreecommitdiffstats
path: root/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-06-27 19:20:20 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2022-07-01 10:50:55 +0200
commit74d832177169dd24ff06c9a584d0dc0f4f35d31b (patch)
treebb5a0dbc320668b7b329e1e5a106a7b50ea36bdd /cmake/QtBuildInternals/QtBuildInternalsConfig.cmake
parent3b123055755db3f11bd64b276a8f92fe39cf0e1e (diff)
CMake: Don't show the incompatible version warning when not needed
If a find_package(Qt6Foo) call has the QUIET option passed, don't display the incompatible version warning. Also if the find_package call has the EXACT option passed, and the searched for version does not match the package version exactly, there's no point in showing the warning because find_package will reject the package anyway, even if we set PACKAGE_VERSION_COMPATIBLE to TRUE Pick-to: 6.2 6.3 6.4 Change-Id: I78ef95cf4a045034fc50853465f3ba1db84bba63 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'cmake/QtBuildInternals/QtBuildInternalsConfig.cmake')
0 files changed, 0 insertions, 0 deletions