The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13475 
====================================================================== 
Reported By:                Marcin Wojdyr
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13475
Category:                   CMake
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-08-15 16:19 EDT
Last Modified:              2012-08-15 16:19 EDT
====================================================================== 
Summary:                    Support cross-compiling fortran project in the same
way as C and C++
Description: 
CMakeDetermineFortranCompiler lacks several lines that in similar modules for C
and CXX handle GNU cross-compiler.

As a result changing order of languages in project() causes strange errors, and
if Fortran is the first or the only language the instruction at
http://www.cmake.org/Wiki/CMake_Cross_Compiling won't work.


Additional Information: 
CMakeDetermine(C|CXX|Fortran)Compiler.cmake files are quite similar. The Fortran
one lacks comment about _CMAKE_TOOLCHAIN_PREFIX at the beginning and then block
that sets _CMAKE_TOOLCHAIN_PREFIX near the end. I think that's all, but I may
have overlooked something. When _CMAKE_TOOLCHAIN_PREFIX if set CMakeFindBinUtils
sets the rest of variables.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-08-15 16:19 Marcin Wojdyr  New Issue                                    
======================================================================

--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to