void-packages/srcpkgs/kdeartwork/patches/fix-cmake.patch
2016-09-19 12:52:31 +02:00

12 lines
580 B
Diff

Newer cmake has CHECK_INCLUDE_FILES() instead of check_include_files()
and needs to INCLUDE(CheckIncludeFiles) to use that function.
--- kscreensaver/xsavers/CMakeLists.txt 2010-03-05 19:35:01.000000000 +0100
+++ kscreensaver/xsavers/CMakeLists.txt 2016-09-19 12:32:33.394272881 +0200
@@ -1,4 +1,5 @@
-check_include_files(memory.h HAVE_MEMORY_H)
+INCLUDE(CheckIncludeFiles)
+CHECK_INCLUDE_FILES(memory.h HAVE_MEMORY_H)
configure_file (config-xsavers.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-xsavers.h )
set(screensaver_base_SRCS main.cpp demowin.cpp saver.cpp helpers.cpp)