Skip to content

Commit

Permalink
Revert "More logs"
Browse files Browse the repository at this point in the history
This reverts commit c47debf.
  • Loading branch information
pktiuk committed Jun 29, 2024
1 parent c47debf commit 9ecb233
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -526,18 +526,15 @@ else()
endif()
endif()

find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
message("🍏Found QT: ${QT_VERSION}")
find_package(Qt${QT_VERSION_MAJOR}
COMPONENTS Gui
Network
REQUIRED)

message("Found Gui and network")
if (Qt6_FOUND OR NOT Qt5_FOUND)
message("Searching rof remaining QT6 libraries")
message("Searching for remaining QT6 libraries")

find_package(Qt6
COMPONENTS Core Widgets Gui Network LinguistTools Concurrent
COMPONENTS Core Network LinguistTools Concurrent
REQUIRED)
message("Searching for GUI and Widgets libraries")
find_package(Qt6
COMPONENTS Widgets Gui
REQUIRED)
message("Libraries found")
find_package(QT NAMES Qt6 REQUIRED) # used to get version number in QT_VERSION_MAJOR and QT_VERSION
Expand Down

0 comments on commit 9ecb233

Please sign in to comment.