From 57281b6a51e5f9ba56fb8d30d45e6b41a69d08d6 Mon Sep 17 00:00:00 2001 From: Martin Bauer <martin.bauer@fau.de> Date: Wed, 26 Jul 2017 17:35:09 +0200 Subject: [PATCH] CMake detection of python changed - default python is the one reported by python3-config --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 153a36135..b5a05f3ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ) -- GitLab