On 3/5/2013 11:40 AM, Mateusz Loskot wrote:
Nice tip with the solution in the CMakeTmp, I had no idea about it.

I figured out that the VS2010 project there, cmTryCompileExec3417082516.vcxproj,
specifies for linker  /INCREMENTAL:YES
If I change to /INCREMENTAL:NO, then it builds.

Still not sure how the VS2010/VS2012 toolsets interfere here,
but it looks like this mess is not related to any problems with CMake.
Seems to match what is in that stackoverflow article. Taking off incremental seemed to fix the problem for them as well. If you read that thread close, there seems to be ways to fix the problem...

-Bill

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to