[CMake] Re: TRY_COMPILE painful for tool testing

Brad King brad.king at kitware.com
Wed Sep 27 14:45:37 EDT 2006


Arjen Markus wrote:
> Like I promised, here is the information I have on this bug:
[snip]
> As you can see, the source file is given with the native (Windows-style)
> path, but the object file is specified with forward slashes. This is what
> causes the compiler to complain.

Try adding this to your platform file for this compiler:

SET(CMAKE_WINDOWS_OBJECT_PATH 1)

-Brad


More information about the CMake mailing list