Introduce hyprland-qt-support package
All checks were successful
Build hyprland-qt-support / Build and push image (push) Successful in 3m16s
All checks were successful
Build hyprland-qt-support / Build and push image (push) Successful in 3m16s
This commit is contained in:
29
hyprland-qt-support/cmake.patch
Normal file
29
hyprland-qt-support/cmake.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index a10b688..3c20875 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,5 +1,11 @@
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
|
||||
+# Get version
|
||||
+file(READ "${CMAKE_SOURCE_DIR}/VERSION" VER_RAW)
|
||||
+string(STRIP ${VER_RAW} VER)
|
||||
+
|
||||
+project(hyprland-qt-support VERSION ${VER} LANGUAGES CXX)
|
||||
+
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
@@ -8,12 +14,6 @@ include(cmake/install-qml-module.cmake)
|
||||
|
||||
option(BUILD_TESTER "Build style tester" OFF)
|
||||
|
||||
-# Get version
|
||||
-file(READ "${CMAKE_SOURCE_DIR}/VERSION" VER_RAW)
|
||||
-string(STRIP ${VER_RAW} VER)
|
||||
-
|
||||
-project(hyprland-qt-support VERSION ${VER} LANGUAGES CXX)
|
||||
-
|
||||
find_package(Qt6 6.6 REQUIRED COMPONENTS Qml Quick QuickControls2)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
|
||||
Reference in New Issue
Block a user