The following issue has been SUBMITTED. 
====================================================================== 
https://cmake.org/Bug/view.php?id=16039 
====================================================================== 
Reported By:                Melven Roehrig-Zoellner
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   16039
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-03-30 21:05 CEST
Last Modified:              2016-03-30 21:05 CEST
====================================================================== 
Summary:                    if( languages MATCHES c) always true for pure
Fortran projects
Description: 
A lot of Modules (for example findBLAS.cmake, findLAPACK.cmake) do checks of the
form:

get_property( _LANGUAGES_ GLOBAL PROPERTY ENABLED_LANGUAGES )
if( _LANGUAGES_ MATCHES C )
...

Even in pure Fortran projects this is always true on windows systems as the RC
language is added automatically (and Fortran;RC MATCHES C).

Steps to Reproduce: 
Create a pure Fortran project and call find_package(LAPACK).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-03-30 21:05 Melven Roehrig-ZoellnerNew Issue                               
    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to