Upgrade to C++17

This commit is contained in:
Jarrett Johnson
2024-01-30 15:15:02 -05:00
parent 442d7ca981
commit 95f263dff7
2 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ See also: http://pymolwiki.org/index.php/Linux_Install
REQUIREMENTS
- C++11 compiler (e.g. gcc 4.7+)
- C++17 compiler (e.g. gcc 8+)
- Python 3.6+
- Pmw (Python Megawidgets) (optional, for legacy GUI/plugins)
https://github.com/schrodinger/pmw-patched

View File

@@ -147,9 +147,9 @@ def customize_compiler(compiler):
cxx_cmd = cxx + ' ' + cxxflags
# C++11 by default
# C++17 by default
if '-std=' not in cxx_cmd:
cxx_cmd += ' -std=c++11'
cxx_cmd += ' -std=c++17'
compiler.set_executables(
compiler_cxx=cxx_cmd,