[CMake] Documentation bug(?) in CheckC(XX)SourceCompiles

Marcel Loose loose at astron.nl
Fri Mar 6 10:29:13 EST 2009


After further inspection, I think my observation holds true for all
Check*.cmake files in the Modules directory, not just the
CheckC(XX)SourceCompiles files.

Marcel Loose

On Fri, 2009-03-06 at 16:04 +0100, Michael Wild wrote:
> On 6. Mar, 2009, at 14:13, Marcel Loose wrote:
> 
> > Hi,
> >
> > I found out the hard way -- and after inspecting the macro  
> > definition of
> > CheckCSourceCompiles and CheckCXXSourceCompiles -- that the second
> > argument (VAR) is a cache variable. I think the documentation should  
> > be
> > clearer about that.
> >
> > Best regards,
> > Marcel Loose.
> >
> 
> I second that. I just had the same (slightly unpleasant) experience  
> today.
> 
> Michael
> _______________________________________________
> 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



More information about the CMake mailing list