BRAINSia/BRAINSStandAlone — pull request #119 by Chaircrusher (2012-10-10 21:37:33+00:00)
Title: COMP: add hack to find Python includes on weird systems

Ran into this building BRAINSStandAlone on the Helium cluster. SimpleITK wouldn't build because it couldn't find Python.h.

The problem, as near as I can figure is that while FindPython.cmake works, the way that Python 2.6 and 2.7 are installed on the helium cluster isn't what FindPython expects. Instead of having Python headers in /include they''re in /include/Python-

This fixes the problem by finding the Python.h file, and putting that file's path in as PYTHON_INCLUDE_DIRS.