sakra/cotire — pull request #36 by nickhutchinson (2014-08-17 11:44:24+00:00)
Title: Fix `-isystem` includes being incorrectly passed to execute_process()

The external command was being invoked with arguments: ["clang", ...,
"-isystem /foo/bar/baz", ...], which meant that the compiler treated
the whitespace between the flag and the path as being part of the path
itself. (i.e. it was looking for " /foo/bar/baz").

Fixed by passing the argument to execute_process() as
'-isystem/foo/bar/baz'; I also needed to ensure we normalized the value
of CMAKE_INCLUDE_SYSTEM_FLAG_, which itself contains trailing
whitespace in some cases.