Skip to content
Snippets Groups Projects
Commit 57281b6a authored by Martin Bauer's avatar Martin Bauer
Browse files

CMake detection of python changed

- default python is the one reported by python3-config
parent 6e836dfc
Branches
Tags
No related merge requests found
......@@ -506,10 +506,11 @@ if ( WALBERLA_BUILD_WITH_PYTHON )
# For Linux the standard find script does not work properly:
# Python is configured here using the command "python-config" which has to be on the PATH
if ( NOT PYTHONLIBS_VERSION_STRING )
find_program( PYTHON_CONFIG_EXE NAMES python3.5m-config python3.5-config
find_program( PYTHON_CONFIG_EXE NAMES python3-config python3m-config
python3.5m-config python3.5-config
python3.5m-config python3.5-config
python3.4m-config python3.4-config
python3.3m-config python3.3-config
python3m-config python3-config
python2.7-config
python2-config python-config )
if ( NOT PYTHON_CONFIG_EXE )
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment