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 ====================================================================== -- 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