summaryrefslogtreecommitdiff
path: root/modules/freya/packages/patches/hyprland-fix-cmake.patch
blob: 1ac97829efec6700df2c17d000afb2ee8c4c9b14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 33fac66982422104cc1c2664f9a841fc96295c13 Mon Sep 17 00:00:00 2001
From: Freya Murphy <freya@freyacat.org>
Date: Mon, 5 Aug 2024 20:35:50 -0400
Subject: [PATCH] fix cmake

---
 CMakeLists.txt | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index fa58b63d..51ea6cfa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -85,7 +84,7 @@ if(LEGACY_RENDERER)
 else()
   set(GLES_VERSION "GLES3")
 endif()
-find_package(OpenGL REQUIRED COMPONENTS ${GLES_VERSION})
+find_package(OpenGL REQUIRED)

 pkg_check_modules(
   deps
@@ -314,7 +313,6 @@ protocolwayland()

 # tools
 add_subdirectory(hyprctl)
-add_subdirectory(hyprpm)

 # binary and symlink
 install(TARGETS Hyprland)
--
2.45.1