diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e39af5..2fab539 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ FIND_PACKAGE(fmt REQUIRED) FIND_PACKAGE(spdlog REQUIRED) FIND_PACKAGE(OpenMP) FIND_PACKAGE(GTest) -FIND_PACKAGE(Qt5 COMPONENTS Widgets LinguistTools) +FIND_PACKAGE(Qt6 COMPONENTS Widgets LinguistTools) FIND_PACKAGE(Git) IF (Git_FOUND) diff --git a/src/graphical/CMakeLists.txt b/src/graphical/CMakeLists.txt index 4c4f3dd..a476c9d 100644 --- a/src/graphical/CMakeLists.txt +++ b/src/graphical/CMakeLists.txt @@ -1,6 +1,6 @@ SET(CMAKE_INCLUDE_CURRENT_DIR ON) -IF(Qt5_FOUND) +IF(Qt6_FOUND) SET(CMAKE_AUTOUIC ON) SET(CMAKE_AUTOMOC ON) SET(CMAKE_AUTORCC ON) @@ -33,7 +33,7 @@ IF(Qt5_FOUND) TARGET_LINK_LIBRARIES(mcmap-gui PRIVATE - Qt5::Widgets + Qt6::Widgets ZLIB::ZLIB PNG::PNG fmt::fmt-header-only