Skip to content

Commit

Permalink
Upgrade to C++17
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrettSJohnson committed Jan 30, 2024
1 parent 442d7ca commit f220970
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions monkeypatch_distutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f220970

Please sign in to comment.