MantisBT - CMake
View Issue Details
0010227CMakeCMakepublic2010-02-01 17:292015-07-08 08:57
David Partyka 
 
normalfeaturealways
closedduplicate 
CMake-2-8 
 
0010227: OPTIONAL option for enable_language(FORTRAN)
It would be handy if enable_language(FORTRAN) could take an OPTIONAL argument so that one could optionally enable FORTRAN if there infact does exist a Fortran compiler. Ideally I would like to call enable_language(FORTRAN) and then test if CMAKE_Fortran_COMPILER is set to control if certain targets are built or not.
Presently I am using a work around Brad K. directed me to under Test\CheckFortran.cmake in the cmake source tree.
No tags attached.
related to 0009220closed Kitware Robot enable_language(.... OPTIONAL) signature does not work correctly 
related to 0008345closed  enable_language(fortran optional) fails if no fortran compiler is installed 
Issue History
2010-02-01 17:29David PartykaNew Issue
2011-01-06 16:31Bill HoffmanAssigned To => Brad King
2011-01-06 16:31Bill HoffmanStatusnew => assigned
2012-08-13 10:36Brad KingStatusassigned => backlog
2012-08-13 10:36Brad KingNote Added: 0030481
2012-10-15 11:31David ColeRelationship addedrelated to 0009220
2012-10-15 11:32David ColeRelationship addedrelated to 0008345
2015-02-06 14:08Brad KingNote Added: 0037938
2015-02-06 14:08Brad KingAssigned ToBrad King =>
2015-02-06 14:08Brad KingStatusbacklog => resolved
2015-02-06 14:08Brad KingResolutionopen => duplicate
2015-07-08 08:57Robert MaynardNote Added: 0039043
2015-07-08 08:57Robert MaynardStatusresolved => closed

Notes
(0030481)
Brad King   
2012-08-13 10:36   
Sending issues I'm not actively working on to the backlog to await someone with time for them.

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it:

 http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer or contributor who has the bandwidth to take it on.
(0037938)
Brad King   
2015-02-06 14:08   
Resolving as duplicate of 0008345 and 0009220.
(0039043)
Robert Maynard   
2015-07-08 08:57   
Closing resolved issues that have not been updated in more than 4 months.