[vtkusers] CMake: multi-Includes

Denis Shamonin dshamoni at science.uva.nl
Thu Mar 21 08:05:17 EST 2002


Randy Heiland wrote:

> How do I add multiple Include paths in the CMakeCache.txt file?
>
> Specifically, I have:
>
> //What is the path where the file Python.h can be found
> PYTHON_INCLUDE_PATH:PATH=/home/heiland/Python-2.2/Include
>
> and I'd like to also add -I/home/heiland/Python-2.2  to the Makefiles.
>

Try this in CMakeLists.txt
INCLUDE_DIRECTORIES(/home/heiland/Python-2.2)

-Denis Shamonin.




More information about the vtkusers mailing list