Update CMakeLists.txt

If you want to compile for OpenElec on Raspberry Pi, you must use Python 2.7

Former-commit-id: 813a997161461b90626359e2e23149f8fab59fbf
This commit is contained in:
tpmodding 2016-02-24 00:24:46 +01:00
parent dea32ebc2b
commit 63e150756d
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
find_package(PythonLibs REQUIRED)
#OpenElec uses 2.7, if you want to compile for OpenElec require 2.7
#find_package(PythonLibs 2.7 REQUIRED)
# Include the python directory. Also include the parent (which is for example /usr/include)
# which may be required when it is not includes by the (cross-) compiler by default.