Skip to content

Commit

Permalink
Upgrade to Qt6
Browse files Browse the repository at this point in the history
  • Loading branch information
spoutn1k committed Apr 2, 2024
1 parent e77c3cd commit 4ed122c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions src/graphical/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4ed122c

Please sign in to comment.