diff options
| author | Linus Jahn <lnj@kaidan.im> | 2022-12-28 19:19:50 +0100 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-12-28 19:20:10 +0100 |
| commit | 765c13316cb35b0b3d7b12382e28ee5eed5263e3 (patch) | |
| tree | e5e3afd8a90b3775c2c1f417f59a4463f5e9d310 /CMakeLists.txt | |
| parent | 1d026652c0e6d44c9f947490514163aba09664b2 (diff) | |
cmake: Add debug output about chosen Qt version (5 or 6)
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e6449f6..bbb2559c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,7 @@ set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake/modules") find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core Network Xml) +message("-- Choosing Qt ${QT_VERSION_MAJOR}") find_package(Qt${QT_VERSION_MAJOR} 5.9.2 REQUIRED COMPONENTS Core Network Xml) # QCA (optional) find_package(Qca-qt${QT_VERSION_MAJOR} QUIET) |
