From 206c853d00d7b43bd9eb7112e8d22a4633685fdf Mon Sep 17 00:00:00 2001 From: juvester Date: Sun, 21 Jan 2018 14:27:55 +0200 Subject: [PATCH] cmake: Search for Python 3.4 Fixes an issue where Python libraries aren't found on Ubuntu 14.04 because CMake 2.8 only searches up to Python 3.3. --- cmake/Modules/FindPythonDeps.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/Modules/FindPythonDeps.cmake b/cmake/Modules/FindPythonDeps.cmake index d460aa6e..8d1a53b3 100644 --- a/cmake/Modules/FindPythonDeps.cmake +++ b/cmake/Modules/FindPythonDeps.cmake @@ -9,6 +9,7 @@ # PYTHON_INCLUDE_DIR if(NOT WIN32) + set(Python_ADDITIONAL_VERSIONS 3.4) find_package(PythonLibs QUIET 3.4) return() endif() -- GitLab