/usr/local/include in _KDE4_PLATFORM_INCLUDES on FreeBSD?

Raphael Kubo da Costa kubito at gmail.com
Fri Jun 4 04:18:13 CEST 2010


On Thursday 03 June 2010 21:50:35 Raphael Kubo da Costa wrote: 
> Alright, here's a first draft of the patch (also attached). The macro was
> copied from CMakeFindEclipseCDT4.cmake with some parts cut out.
> 
> It is called only when the compiler is gcc because I don't know if it would
> work with other compilers (CMakeFindEclipseCDT4.cmake also calls it when
> the compiler being used is Intel's, but I don't even know if we support
> it).
> 
> I have also completely overriden the default values, that is, set(foo
> ${bar}) instead of set(foo ${foo} ${bar}) because I believe the initial
> directories (such as /usr/include) will still be present in this call, but
> I may be wrong.

Oh, and before I forget: it worked fine here, but I obviously need to export 
CPATH=/some/other/directories first.


More information about the Kde-buildsystem mailing list