File: 0001-Revert-Set-CMP0004-policy-to-OLD.patch

package info (click to toggle)
lugaru 1.2-7.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,748 kB
  • sloc: cpp: 29,640; ansic: 537; sh: 34; xml: 28; makefile: 14
file content (30 lines) | stat: -rw-r--r-- 804 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
29
30
From e2af3b0b8a2f8328d8322dd3ccea65b23563b009 Mon Sep 17 00:00:00 2001
From: Rémi Verschelde <rverschelde@gmail.com>
Date: Sat, 7 Jul 2018 11:52:28 +0200
Subject: Revert "Set CMP0004 policy to OLD"

This reverts commit b461f4a69c17073d5c576d24e48b1b59c0d3c932.
The workaround is no longer needed with SDL 2.0.5+, which is shipped
in all distros we support (including Debian Stable and RHEL 7).

Fixes #99.
---
 CMakeLists.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 01f29c2..38b1609 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,6 @@
 project(lugaru)
 
-cmake_minimum_required(VERSION 3.0)
-cmake_policy(SET CMP0004 OLD)
+cmake_minimum_required(VERSION 3.5)
 
 include(FindPkgConfig)
 include(GNUInstallDirs)
-- 
2.30.2