--- avogadro-1.2.0/cmake/modules/PythonDeps.cmake~ 2016-06-08 16:19:45.000000000 +0200 +++ avogadro-1.2.0/cmake/modules/PythonDeps.cmake 2019-04-21 10:19:54.127042217 +0200 @@ -2,7 +2,7 @@ # This CMake file defines # ALL_PYTHON_FOUND, if false, do not try to use python. -if(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND AND NUMPY_FOUND) +if(Boost_PYTHON27_FOUND AND PYTHONLIBS_FOUND AND NUMPY_FOUND) # In cache already set(ALL_PYTHON_FOUND TRUE) @@ -14,8 +14,8 @@ # CMake's new FindBoost has an option to look for additional versions set(Boost_ADDITIONAL_VERSIONS "1.45" "1.44" "1.43" "1.42" "1.41" "1.40" "1.40.0" "1.39" "1.39.0" "1.38" "1.38.0" "1.37" "1.37.0") - find_package(Boost COMPONENTS python) - if (Boost_PYTHON_FOUND) + find_package(Boost COMPONENTS python27) + if (Boost_PYTHON27_FOUND) message(STATUS "Boost Python found...") else() message(STATUS "Boost Python NOT found - Python support disabled.")