[Cmake] Problems with system includes

William A. Hoffman billlist at nycap . rr . com
Wed, 17 Dec 2003 08:48:52 -0500


I think this is a bug.   I will look into fixing it.

-Bill


At 04:46 AM 12/17/2003, Bernhard Zach wrote:
>Hi!
>
>I hope somebody could help me:
>The problem: In the generated Makefiles it seems that the INCLUDE_FLAGS
>(-I...) always includes the current source directory at first position.
>
>assert.h is an system include on windows.
>When my source includes with '#include "assert.h"' it should take the
>local header file.
>When my source includes with '#include <assert.h>' it should take the
>system header file.
>This does not work because of the addintional -I[currentSourceDir]
>Switch.
>
>I build out of source builds. Could that be the reason?
>Or is it a Bug?
>
>Thanks in Advance,
>Bernhard
>
>_______________________________________________
>Cmake mailing list
>Cmake at www . cmake . org
>http://www . cmake . org/mailman/listinfo/cmake