File: 0003-changes-for-cmake-4.patch

package info (click to toggle)
glpeces 5.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,696 kB
  • sloc: cpp: 6,821; xml: 33; makefile: 6
file content (28 lines) | stat: -rw-r--r-- 1,131 bytes parent folder | download
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
From: Georges Khaznadar <georgesk@debian.org>
Date: Tue, 30 Sep 2025 15:31:05 +0200
Subject: changes for cmake-4

---
 CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: glpeces/CMakeLists.txt
===================================================================
--- glpeces.orig/CMakeLists.txt
+++ glpeces/CMakeLists.txt
@@ -2,7 +2,7 @@ SET(CMAKE_INSTALL_PREFIX /$(CURDIR)/usr)
  # set project's name
   PROJECT( glpeces )
  
-  cmake_minimum_required(VERSION 2.8)
+  cmake_minimum_required(VERSION 3.5)
   
   # with SET() command you can change variables or define new ones
   # here we define SAMPLE_SRCS variable that contains a list of all .cpp files
@@ -114,4 +114,4 @@ install_targets(/games glpeces)
 
  #uninstall
 CONFIGURE_FILE( "${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" IMMEDIATE @ONLY)
-ADD_CUSTOM_TARGET(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" )
\ No newline at end of file
+ADD_CUSTOM_TARGET(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" )