[cmake-developers] [CMake 0014231]: external project doesn't pass CMAKE_Fortran_COMPILER to subprojects
Mantis Bug Tracker
mantis at public.kitware.com
Wed Jun 19 10:30:04 EDT 2013
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=14231
======================================================================
Reported By: Andy Bauer
Assigned To:
======================================================================
Project: CMake
Issue ID: 14231
Category: CMake
Reproducibility: always
Severity: minor
Priority: low
Status: new
======================================================================
Date Submitted: 2013-06-19 10:30 EDT
Last Modified: 2013-06-19 10:30 EDT
======================================================================
Summary: external project doesn't pass CMAKE_Fortran_COMPILER
to subprojects
Description:
When building an external project (ExternalProject_Add) that depends on Fortran,
the CMAKE_Fortran_COMPILER doesn't get passed to the external project. I would
guess that the other Fortran build options aren't passed either.
Steps to Reproduce:
1) Download the ParaView superbuild repo at
http://review.source.kitware.com/#/t/2904/
2) Set the Fortran compiler to a non-default value.
3) Enable the nektar reader plugin (ENABLE_nektarreader) and ParaView
(ENABLE_paraview)
4) Configure and build and note that in the paraview/src/paraview-build that
there will be the default Fortran compiler that CMake finds.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-06-19 10:30 Andy Bauer New Issue
======================================================================
More information about the cmake-developers
mailing list