diff options
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/conversion/subdirs/expected/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/data/conversion/subdirs/expected/CMakeLists.txt b/tests/data/conversion/subdirs/expected/CMakeLists.txt index 36a4f57..7a497aa 100644 --- a/tests/data/conversion/subdirs/expected/CMakeLists.txt +++ b/tests/data/conversion/subdirs/expected/CMakeLists.txt @@ -9,9 +9,8 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON) include(GNUInstallDirs) -find_package(QT NAMES Qt5 Qt6 REQUIRED COMPONENTS Core) -find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Gui Network OpenGL) -find_package(Qt${QT_VERSION_MAJOR} OPTIONAL_COMPONENTS Core5Compat) +find_package(Qt6 REQUIRED COMPONENTS Gui Network OpenGL) +find_package(Qt6 OPTIONAL_COMPONENTS Core5Compat) qt_add_executable(app WIN32 MACOSX_BUNDLE main.cpp |