[med-svn] [camitk] 01/02: Do not override CXX flags

Emmanuel Promayon promayon-guest at moszumanska.debian.org
Tue Oct 4 10:01:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

promayon-guest pushed a commit to branch master
in repository camitk.

commit 5dd7ab0f249fc3fb72b9fb28187222c8c8c06e99
Author: Emmanuel Promayon <Emmanuel.Promayon at imag.fr>
Date:   Tue Oct 4 08:59:58 2016 +0200

    Do not override CXX flags
    
    Signed-off-by: Emmanuel Promayon <Emmanuel.Promayon at imag.fr>
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a4a3a6b..8341e3c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,7 +34,7 @@ include(camitk/packaging/CamiTKOpenSourcePackaging)
 camitk_opensource_packaging()
 
 # CamiTK 4.0 is C++11 compliant
-set(CMAKE_CXX_FLAGS "-std=c++11")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
 
 # Specific to SDK: first compile the SDK (it looks like a CEP but is sooooo special...)
 add_subdirectory(sdk)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/camitk.git



More information about the debian-med-commit mailing list