On 06/11/2011 02:08 AM, Campbell Barton wrote:
To follow up on this, I tested this on a test project and found the
problem was in my own macro which wasn't initializing an include list.
So only the set(CMAKE_INCLUDE_SYSTEM_FLAG_C -isystem ) remains
which should be fixed in CMake but is easy
On 06/08/2011 07:26 AM, Campbell Barton wrote:
There were some system headers giving warnings compiling on linux,
since I like to have warnings as errors, and not edit system headers,
I used:
include_directories(SYSTEM dir1 dir2 ...)
... for system directories only.
However this does not
There were some system headers giving warnings compiling on linux,
since I like to have warnings as errors, and not edit system headers,
I used:
include_directories(SYSTEM dir1 dir2 ...)
... for system directories only.
However this does not result in -isystem being used in C because
GNU.cmake