The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14936 
====================================================================== 
Reported By:                neologius
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14936
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2014-05-26 06:14 EDT
Last Modified:              2014-05-26 06:14 EDT
====================================================================== 
Summary:                    CMAKE_GNUtoMS_VCVARS is not set when using Visual
Studio 12 2013 and CMakeAddFortranSubdirectory
Description: 
In Windows-GNU.cmake, find_program is used to discover the batch file that sets
up the Visual C++ command line environment by inspecting certain registry
entries.

There is no inspection of the registry key where visual studio 2013 stores its
installation directory.

Moreover, in Visual Studio 2013, the name of the batch file has been changed
slightly requiring appending a name to search for in the find_program NAMES
list.

Both issues can be fixed by slightly modifying the cmake file (see attachment).

Steps to Reproduce: 
Use CMakeAddFortranSubdirectory with Visual Studio 12 Win64 and gfortran.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-05-26 06:14 neologius      New Issue                                    
2014-05-26 06:14 neologius      File Added: Windows-GNU.cmake                   

======================================================================

-- 

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/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to