[Cmake] Problems with system includes

Bernhard Zach bzach at hyperwave . com
Wed, 17 Dec 2003 10:46:07 +0100


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