Fix for error in Python call in CMakeList.txt (Feature #1566)


Added by dalitz - about 13 years ago. Updated about 13 years ago.


Status:Done Start date:
Priority:Blocker Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:build/install
Target version:2.4.0
Difficulty: Pull request:

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


Associated revisions

Revision b33c9b10
Added by Vadim Pisarevsky about 13 years ago

fixed bug #1566

Revision 801054d6
Added by Roman Donchenko over 11 years ago

Merge pull request #1566 from SpecLad:Wshadow-openni

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

Also available in: Atom PDF