modules/ryan-packages/patches/hyprland-fix-cmake.patch
5555894efeb1d62539e10595dbaf8503ea05266e
· 997 B · 41 lines
raw
| 1 | From 33fac66982422104cc1c2664f9a841fc96295c13 Mon Sep 17 00:00:00 2001 |
| 2 | From: Freya Murphy <freya@freyacat.org> |
| 3 | Date: Mon, 5 Aug 2024 20:35:50 -0400 |
| 4 | Subject: [PATCH] fix cmake |
| 5 | |
| 6 | --- |
| 7 | CMakeLists.txt | 4 +--- |
| 8 | 1 file changed, 1 insertion(+), 3 deletions(-) |
| 9 | |
| 10 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
| 11 | index fa58b63d..51ea6cfa 100644 |
| 12 | --- a/CMakeLists.txt |
| 13 | +++ b/CMakeLists.txt |
| 14 | @@ -26,7 +26,6 @@ execute_process(COMMAND ./scripts/generateVersion.sh |
| 15 | WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) |
| 16 | |
| 17 | # udis |
| 18 | -add_subdirectory("subprojects/udis86") |
| 19 | |
| 20 | if(CMAKE_BUILD_TYPE) |
| 21 | string(TOLOWER ${CMAKE_BUILD_TYPE} BUILDTYPE_LOWER) |
| 22 | @@ -85,7 +84,7 @@ if(LEGACY_RENDERER) |
| 23 | else() |
| 24 | set(GLES_VERSION "GLES3") |
| 25 | endif() |
| 26 | -find_package(OpenGL REQUIRED COMPONENTS ${GLES_VERSION}) |
| 27 | +find_package(OpenGL REQUIRED) |
| 28 | |
| 29 | pkg_check_modules( |
| 30 | deps |
| 31 | @@ -314,7 +313,6 @@ protocolwayland() |
| 32 | |
| 33 | # tools |
| 34 | add_subdirectory(hyprctl) |
| 35 | -add_subdirectory(hyprpm) |
| 36 | |
| 37 | # binary and symlink |
| 38 | install(TARGETS Hyprland) |
| 39 | -- |
| 40 | 2.45.1 |
| 41 |