From b10b6b515c426087120d3707997bf57a0807be81 Mon Sep 17 00:00:00 2001 From: Dimitrios Eftaxiopoulos Date: Mon, 5 Oct 2015 21:47:39 +0300 Subject: [PATCH] Disable need for C++11 support (Closes: #800460) --- CMakeLists.txt | 2 +- debian/patches/CMakeLists.patch | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c694dad..91b0b16 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,7 @@ option(enable-all-docs "Enable all documentation building") option(enable-all "Enable all core features") option(enable-all-widgets "Enable all Widgets") option(enable-all-swig "Enable all SWIG based interfaces") -option(enable-rvalue "Enable move constructor support (need C++11)" ON) +option(enable-rvalue "Enable move constructor support (need C++11)" OFF) option(enable-pthread "Enable POSIX threads support" ON) option(enable-openmp "Enable OpenMP support" OFF) diff --git a/debian/patches/CMakeLists.patch b/debian/patches/CMakeLists.patch index f791a50..e877804 100644 --- a/debian/patches/CMakeLists.patch +++ b/debian/patches/CMakeLists.patch @@ -1,7 +1,7 @@ Selection of enabled features during build --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -63,16 +63,16 @@ +@@ -63,7 +63,7 @@ string(TIMESTAMP MGL_NIGHT "%d.%m.%y") option(enable-double "Enable double precision in MathGL library" ON) @@ -10,13 +10,12 @@ Selection of enabled features during build option(enable-opengl "Enable OpenGL support" ON) option(enable-all-docs "Enable all documentation building") #option(enable-doc "Enable documentation building") - option(enable-all "Enable all core features") +@@ -71,8 +71,8 @@ option(enable-all-widgets "Enable all Widgets") option(enable-all-swig "Enable all SWIG based interfaces") --option(enable-rvalue "Enable move constructor support (need C++11)" OFF) + option(enable-rvalue "Enable move constructor support (need C++11)" OFF) -option(enable-pthread "Enable POSIX threads support" OFF) -option(enable-openmp "Enable OpenMP support" ON) -+option(enable-rvalue "Enable move constructor support (need C++11)" ON) +option(enable-pthread "Enable POSIX threads support" ON) +option(enable-openmp "Enable OpenMP support" OFF) -- 2.30.2