1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
From: Michael R. Crusoe <crusoe@debian.org>
Subject: Append to CXXFLAGS, don't overwrite them
Forwarded: https://github.com/BioPP/bppsuite/pull/18
--- bppsuite.orig/CMakeLists.txt
+++ bppsuite/CMakeLists.txt
@@ -8,7 +8,7 @@
project (bppsuite CXX)
# Compile options
-SET (CMAKE_CXX_FLAGS "-std=c++11 -Wall -Weffc++ -Wshadow -Wconversion")
+add_compile_options(-std=c++11 -Wall -Weffc++ -Wshadow -Wconversion)
IF(NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING
|