summaryrefslogtreecommitdiffstats
path: root/science/qmapshack/0001-fix-incompatibility-with-recent-proj.patch
blob: 2271649b6a86749af55d0967b77f0b441fd74dc4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 5d636ad60cde62d576e3b2e66e22620bad2c5e65 Mon Sep 17 00:00:00 2001
From: Florian Franzmann <bwlf@bandrate.org>
Date: Sat, 5 Oct 2019 18:12:35 +0200
Subject: [PATCH] fix incompatibility with recent proj

---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 397dbdb..4d0aa15 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,6 +28,7 @@ project(QMapShack VERSION 1.11.1)
 set(VERSION_SUFFIX "")
 # !!! Do not forget to update versions in the sub-repos, too!!!
 
+add_definitions("-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H")
 
 ###############################################################################################
 # Define paths and include other modules
-- 
2.23.0