File: cmake-4.patch

package info (click to toggle)
peg-solitaire 2.2-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,136 kB
  • sloc: cpp: 4,893; xml: 32; makefile: 9
file content (20 lines) | stat: -rw-r--r-- 968 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Index: peg-solitaire/CMakeLists.txt
===================================================================
--- peg-solitaire.orig/CMakeLists.txt
+++ peg-solitaire/CMakeLists.txt
@@ -2,7 +2,7 @@ SET(CMAKE_INSTALL_PREFIX /$(CURDIR)/usr)
  # set project's name
   PROJECT( peg-solitaire )
  
-  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
@@ -106,4 +106,4 @@ install_targets(/games peg-solitaire)
 
  #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" )