Hi Alex,

Maybe I'm overlooking all kinds of side effects, but the problem is in
line 6 of CMakeFortranInformation.cmake, where get_filename_component()
is called with an incorrect number of arguments. This happens because
${CMAKE_Fortran_COMPILER} is empty. If I simply put quotes around
${CMAKE_Fortran_COMPILER} the problem is solved. Or so it seems. Right,
or wrong?

Best regards,
Marcel Loose.

On Tue, 2009-11-24 at 19:48 +0100, Alexander Neundorf wrote:
> On Tuesday 24 November 2009, Marcel Loose wrote:
> > Hi all,
> >
> > I've been experimenting a bit with enable_language() and stumbled upon
> > what I think is a bug.
> 
> Yes: http://public.kitware.com/Bug/view.php?id=9220
> 
> It's not trivial to make it work.
> 
> Alex

_______________________________________________
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