Pārlūkot izejas kodu

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.
juvester 7 gadi atpakaļ
vecāks
revīzija
206c853d00
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      cmake/Modules/FindPythonDeps.cmake

+ 1 - 0
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()