aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-printing/curaengine/curaengine/0001-don-t-overwrite-CXXFLAGS.patch
blob: c8cf3fbebd9eb539b7cf92f85bef824dfad1c65f (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
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 0ebf352..ebbf68f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,7 +7,7 @@ find_package(Arcus REQUIRED)
 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()
 
 # Add warnings