mirror of
https://github.com/schrodinger/pymol-open-source.git
synced 2026-06-03 19:54:24 +08:00
Upgrade to C++17
This commit is contained in:
2
INSTALL
2
INSTALL
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user