hyprcursor/fix_include_dir_permissions.patch

25 lines
988 B
Diff
Raw Normal View History

From 5e89b31c9df2e5943dd6061fdb827e0d621f9ed7 Mon Sep 17 00:00:00 2001
From: Pavel Solovev <daron439@gmail.com>
Date: Sat, 16 Mar 2024 14:16:29 +0000
Subject: [PATCH] cmake: correct includedir permissions
no need to set 777
---
CMakeLists.txt | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index be38f90..a229cdf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,8 +70,5 @@ add_test(NAME "Test libhyprcursor in C" WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/te
add_dependencies(tests hyprcursor_test_c)
# Installation
-install(DIRECTORY "include/hyprcursor" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} DIRECTORY_PERMISSIONS
- OWNER_WRITE OWNER_READ OWNER_EXECUTE
- GROUP_WRITE GROUP_READ GROUP_EXECUTE
- WORLD_WRITE WORLD_READ WORLD_EXECUTE)
+install(DIRECTORY "include/hyprcursor" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
install(FILES ${CMAKE_BINARY_DIR}/hyprcursor.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)