aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-printing/curaengine/libarcus/0001-don-t-overwrite-CXXFLAGS.patch
blob: 23fad29c98d505bbfc70d7cb581335470d7fd569 (plain)
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
From 7097de23c5d93ef33db583615c0373aebf75333c Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Mon, 10 Aug 2015 20:47:37 +0200
Subject: [PATCH] don't overwrite CXXFLAGS

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index bd90c2e..b96cc87 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,7 +18,7 @@ endif()
 if(NOT ${CMAKE_VERSION} VERSION_LESS 3.1)
     set(CMAKE_CXX_STANDARD 11)
 else()
-    set(CMAKE_CXX_FLAGS "-std=c++11")
+	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
 endif()
 
 set(arcus_SRCS
-- 
2.0.1