try_compile with CMAKE_FLAGS -DINCLUDE_DIRECTORIES=<ABSPATH> is treated incorrectly.
Hi,
TRY_COMPILE(RESULT_VAR
<BINDIR>
<SRCDIR>/srcfile.cxx
CMAKE_FLAGS
-DINCLUDE_DIR=<ABSPATH>
...)
invokes the compiler as:
<compiler> -I<SRCDIR>\"<ABSPATH>\" -o ...
I am not sure why the ABSPATH is being treated as a RELPATH against SRCDIR