File: drop-CMAKE_CXX_STANDARD.patch

package info (click to toggle)
macromoleculebuilder 4.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 118,996 kB
  • sloc: cpp: 23,722; python: 5,098; ansic: 2,101; awk: 145; perl: 144; makefile: 40; sh: 38
file content (19 lines) | stat: -rw-r--r-- 695 bytes parent folder | 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 1)
 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)