MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0014936 | CMake | CMake | public | 2014-05-26 06:14 | 2014-11-03 08:38 |
|
Reporter | neologius | |
Assigned To | Brad King | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | Any | OS | Any | OS Version | Any |
Product Version | CMake 2.8.12.2 | |
Target Version | CMake 3.0 | Fixed in Version | CMake 3.0 | |
|
Summary | 0014936: 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. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | Windows-GNU.cmake (9,407) 2014-05-26 06:14 https://public.kitware.com/Bug/file/5153/Windows-GNU.cmake |
|
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 | |
2014-05-27 09:24 | Brad King | Note Added: 0035941 | |
2014-05-28 12:42 | Brad King | Note Added: 0035954 | |
2014-05-28 12:42 | Brad King | Assigned To | => Brad King |
2014-05-28 12:42 | Brad King | Status | new => resolved |
2014-05-28 12:42 | Brad King | Resolution | open => fixed |
2014-05-28 12:42 | Brad King | Fixed in Version | => CMake 3.0 |
2014-05-28 12:42 | Brad King | Target Version | => CMake 3.0 |
2014-11-03 08:38 | Robert Maynard | Note Added: 0037145 | |
2014-11-03 08:38 | Robert Maynard | Status | resolved => closed |