Closed TimmyLiu closed 8 years ago
:+1: I have been forcing cmake to use python2
manually.
@TimmyLiu, I sent a patch in #199 that should work with both python2 and python3 interpreters. Will that resolve the issue?
@pavanky thanks for fixing for python3. But I still think cmake should at least check for python and complains if the system does not have python.
@TimmyLiu you should be using FindPythonInterp instead. FindPythonLibs
is required when you are compiling python modules I think.
Alright sent a new PR for fixing this.
since python 2.7 is required now, cmake should detect python as well as python version at config time. We can probably use FindPythonLibs here: https://cmake.org/cmake/help/v3.0/module/FindPythonLibs.html