[cmake-developers] [CMake 0015684]: CMAKE_Fortran_COMPILER_VERSION becomes unset after second configuring
Mantis Bug Tracker
mantis at public.kitware.com
Wed Aug 5 07:33:56 EDT 2015
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15684
======================================================================
Reported By: Raul Laasner
Assigned To:
======================================================================
Project: CMake
Issue ID: 15684
Category: CMake
Reproducibility: always
Severity: minor
Priority: low
Status: new
======================================================================
Date Submitted: 2015-08-05 07:33 EDT
Last Modified: 2015-08-05 07:33 EDT
======================================================================
Summary: CMAKE_Fortran_COMPILER_VERSION becomes unset after
second configuring
Description:
CMAKE_Fortran_COMPILER_VERSION contains the correct version after the first
configuring (first run of cmake), but becomes undefined after the second
configuring. Is this normal behavior?
Steps to Reproduce:
Try, e.g.,
message("test 1 " ${CMAKE_C_COMPILER_VERSION})
message("test 2 " ${CMAKE_Fortran_COMPILER_VERSION})
The first time it prints
test 1 5.2.0
test 2 5.2.0
in my system, but after the second run of cmake it prints
test 1 5.2.0
test 2
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-08-05 07:33 Raul Laasner New Issue
======================================================================
More information about the cmake-developers
mailing list