gentoo-ebuilds/x11-misc/xss-lock/files/xss-lock-0.3.0_p20140302-cmake4.patch
Johannes Huber 4a2215f694
x11-misc/xss-lock: fix build w/ cmake 4
Closes: https://bugs.gentoo.org/953544
Signed-off-by: Johannes Huber <johu@gmx.de>
Part-of: https://github.com/gentoo/gentoo/pull/42298
Closes: https://github.com/gentoo/gentoo/pull/42298
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-05-31 11:55:07 +02:00

23 lines
622 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b1e96a4..9c6bcf0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.10)
project(xss-lock C)
set(PROJECT_VERSION 0.3.0)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c7036ec..e575ba6 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -22,8 +22,6 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_executable(xss-lock
xss-lock.c
xcb_utils.c
- xcb_utils.h
- config.h
)
target_link_libraries(xss-lock ${GLIB2_LIBRARIES} ${XCB_LIBRARIES})