File: unforce-cxxflags.patch

package info (click to toggle)
libbpp-phyl-omics 2.4.1-8
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 380 kB
  • sloc: cpp: 867; makefile: 13
file content (16 lines) | stat: -rw-r--r-- 552 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From: Gert Wollny <gw.fossdev@gmail.com>
Date: Wed, 29 Jun 2014 16:52:43 +0200
Subject: Do not override Debian CXX flags
Forwarded: https://github.com/BioPP/bpp-phyl-omics/pull/6

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,7 +9,7 @@ cmake_minimum_required (VERSION 2.8.11)
 project (bpp-phyl-omics 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