[CMake] Working with MSVC10

Bill Hoffman bill.hoffman at kitware.com
Tue Aug 30 14:54:47 EDT 2011


On 8/30/2011 2:40 PM, Steve Casselman wrote:
> When I put
> MESSAGE("$ENV{INCLUDE}")
> In the code at that point I get
> C:\Program Files\Microsoft Visual Studio 10.0\VC\include
>
> So why would Cmake be picking up my cygwin installation?
>
> Anyway I renamed my cygwin directory and it seems to be working now...
>
CMake is not doing this.  VS is doing this.  Try putting your cygwin dir 
back, then create a VS project without using CMake that includes this 
file.  It will fail as well.  Your VS install has this problem, not 
CMake... :)

-Bill



More information about the CMake mailing list