From eb6fd4cd5b4f0d60abdfc167d4de468316303a3d Mon Sep 17 00:00:00 2001 From: Gennady Pospelov <g.pospelov@fz-juelich.de> Date: Fri, 8 Nov 2013 15:25:54 +0100 Subject: [PATCH] juelich: Fix in python search --- cmake/modules/SearchInstalledSoftware.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/modules/SearchInstalledSoftware.cmake b/cmake/modules/SearchInstalledSoftware.cmake index edbfa7f5e24..c3f7d72d0ca 100644 --- a/cmake/modules/SearchInstalledSoftware.cmake +++ b/cmake/modules/SearchInstalledSoftware.cmake @@ -58,8 +58,8 @@ find_package(GSL REQUIRED) # --- Python --- if(BORNAGAIN_PYTHON OR BORNAGAIN_GUI) - find_package(PythonInterp REQUIRED) - find_package(PythonLibsNew REQUIRED) + find_package(PythonInterp 2.6 REQUIRED) + find_package(PythonLibsNew 2.6 REQUIRED) # important to find interpreter and libraries from same python version #set(PythonLibs_FIND_VERSION ${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}) -- GitLab