提交 206c853d 编写于 作者: J juvester

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.
上级 7abbd4d2
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
# PYTHON_INCLUDE_DIR # PYTHON_INCLUDE_DIR
if(NOT WIN32) if(NOT WIN32)
set(Python_ADDITIONAL_VERSIONS 3.4)
find_package(PythonLibs QUIET 3.4) find_package(PythonLibs QUIET 3.4)
return() return()
endif() endif()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册