From: Dimitrios Eftaxiopoulos Date: Mon, 5 Oct 2015 18:47:39 +0000 (+0300) Subject: Disable need for C++11 support (Closes: #800460) X-Git-Tag: archive/raspbian/2.5-2+rpi1^2~89 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b10b6b515c426087120d3707997bf57a0807be81;p=mathgl.git Disable need for C++11 support (Closes: #800460) --- 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)