Fix for error in Python call in CMakeList.txt (Feature #1566)
Description
After wondering why the cmake checks did not find the installed python modules numpy and sphinx on my system, I have noticed that CMakeList.txt adds ";-B" to the python call which was the culprit.
Commenting out the following lines in CMakeList.txt fixed the error:
IF ("${PYTHON_VERSION_MAJOR_MINOR}" VERSION_GREATER 2.4) SET(PYTHON_EXECUTABLE ${PYTHON_EXECUTABLE} -B) ENDIF()
My environment: python 2.5.2, cmake 2.8.7, numpy 1.0.4, sphinx 1.1.2
Thanks, Christoph
History
Updated by Vadim Pisarevsky about 13 years ago
fixed in r7226
Updated by Vadim Pisarevsky about 13 years ago
- Status changed from Open to Done
- (deleted custom field) set to fixed
Updated by Andrey Kamaev about 13 years ago
- Target version set to 2.4.0
- Description changed from After wondering why the cmake checks did not find the installed python modul... to After wondering why the cmake checks did not find the installed python modul... More