Show full Qt version in cmake

This commit is contained in:
Magnus Hellströmer
2024-09-08 23:27:02 +02:00
parent a88d485051
commit 05dfd10952
5 changed files with 5 additions and 5 deletions

View File

@@ -50,13 +50,13 @@ if(NOT DEFINED QT_VERSION_MAJOR)
REQUIRED
)
endif()
message(".. QT_VERSION_MAJOR :" ${QT_VERSION_MAJOR})
find_package(
Qt${QT_VERSION_MAJOR}
COMPONENTS
${QET_COMPONENTS}
REQUIRED)
message(".. Qt version :" ${Qt${QT_VERSION_MAJOR}_VERSION})
Include(FetchContent)