neovim/neovim — pull request #723 by tarruda (2014-05-15 11:37:27+00:00)
Title: [RFC] Tell cmake to use `-isystem` third-party includes

This adds the `SYSTEM` parameter to `include_directories`, which will tell cmake to use `-isystem` instead of `-I` for specifying include directories. One advantage is that GCC/clang won't emit warnings for included files that belong to dependencies(I got errors from `` when fixing msgpack_rpc.c).

@jszakmeister do you know if the `-isystem` is part of C99? If not(and we are supporting C99) then it might not be possible to use this flag.