[CMake] Various problems deploying a python module

Janosch Peters jp at binford3000.de
Fri Jun 25 16:30:38 EDT 2010


On 2010-06-25 18:36:06 +0200, Michael Wild said:
>> AFAIK all directories you give gcc with the "-I" option will be 
>> searched _before_ the standard include paths or C_INCLUDE_PATH. So I 
>> think you do have control over what is included. But I know almost 
>> nohting about all the compiling/linking stuff, so I might be wrong.
> 
> The problem is the line
> 
> #include <Python/Python.h>
> 
> which resolves to /path/to/Python.framework/Headers/Python.h. No way to 
> specify the version, only the framework location using the -F flag.

Okay. But as Mark Moll pointed out, we could just ignore the -F flag 
and use plain Unix include/library paths. 




More information about the CMake mailing list