Skip to content

Commit

Permalink
picker: use only qt6
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Mar 1, 2024
1 parent 15fd76c commit 2d2fb54
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hyprland-share-picker/CMakeLists.txt
Expand Up @@ -2,15 +2,17 @@ cmake_minimum_required(VERSION 3.5)

project(hyprland-share-picker VERSION 0.1 LANGUAGES CXX)

set(QT_VERSION_MAJOR 6)

set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets)
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets)
find_package(QT NAMES Qt6 REQUIRED COMPONENTS Widgets)
find_package(Qt6 REQUIRED COMPONENTS Widgets)

set(PROJECT_SOURCES
main.cpp
Expand Down

0 comments on commit 2d2fb54

Please sign in to comment.