[CMake] enable_language( ... OPTIONAL) causes error or	second	cmake run
    Marcel Loose 
    loose at astron.nl
       
    Wed Nov 25 10:12:08 EST 2009
    
    
  
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
    
    
More information about the CMake
mailing list