Package: macromoleculebuilder / 4.0.0+dfsg-5

drop-CMAKE_CXX_STANDARD.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Use default C++ standard.
 Previously, macromoleculebuilder tried to force C++14 in the compiler to
 ensure ccess to newer language features. However, C++ is now too old for
 some of the build-dependencies (tao-pegtl-dev) and causes a build failure.
 Since standard nowadays is newer, C++14 forcing is removed.
 Thanks Steve Langasek for reporting this and suggesting a fix.
Author: Andrius Merkys <merkys@debian.org>
Forwarded: not-needed
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,7 +26,7 @@
 set(MMB_MINOR_VERSION 0)
 set(MMB_PATCH_VERSION 0)
 
-set(CMAKE_CXX_STANDARD 14)
+# set(CMAKE_CXX_STANDARD 14)
 set(CMAKE_CXX_EXTENSIONS OFF)
 set(CMAKE_CXX_STANDARD_REQUIRED ON)