View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014231CMakeCMakepublic2013-06-19 10:302013-11-04 09:33
ReporterAndy Bauer 
Assigned To 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionwon't fix 
PlatformLinuxOSUbuntuOS Version12.04
Product VersionCMake 2.8.11 
Target VersionFixed in Version 
Summary0014231: external project doesn't pass CMAKE_Fortran_COMPILER to subprojects
DescriptionWhen 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 Reproduce1) 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0033358)
Brad King (manager)
2013-06-20 13:46

ExternalProject_Add doesn't pass any language's compiler to the external project by default. Selecting a non-default C or C++ compiler in the outer project will not propagate either. It is up to your calls to pass the compilers through CMAKE_FLAGS if you want to propagate them.
(0034375)
Robert Maynard (manager)
2013-11-04 09:33

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2013-06-19 10:30 Andy Bauer New Issue
2013-06-20 13:46 Brad King Note Added: 0033358
2013-06-20 13:46 Brad King Status new => resolved
2013-06-20 13:46 Brad King Resolution open => won't fix
2013-11-04 09:33 Robert Maynard Note Added: 0034375
2013-11-04 09:33 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team