summaryrefslogtreecommitdiffstats
path: root/Source/cmFortranParserImpl.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-13 18:34:56 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-14 15:23:02 (GMT)
commit72057d9c1582f4b6dec66cd0675860c4c335636e (patch)
treea8ef46af1c9bc0c90f2569393aed93f2b4d0f74f /Source/cmFortranParserImpl.cxx
parent7ae329e2ed84f62165cb11794ad85c6c43dbd7dc (diff)
downloadCMake-72057d9c1582f4b6dec66cd0675860c4c335636e.zip
CMake-72057d9c1582f4b6dec66cd0675860c4c335636e.tar.gz
CMake-72057d9c1582f4b6dec66cd0675860c4c335636e.tar.bz2
Fortran: Thread compiler id through to internal Fortran parser
Diffstat (limited to 'Source/cmFortranParserImpl.cxx')
-rw-r--r--Source/cmFortranParserImpl.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmFortranParserImpl.cxx b/Source/cmFortranParserImpl.cxx
index 7b0c1a9..8787206 100644
--- a/Source/cmFortranParserImpl.cxx
+++ b/Source/cmFortranParserImpl.cxx
@@ -43,10 +43,12 @@ bool cmFortranParser_s::FindIncludeFile(const char* dir,
return false;
}
-cmFortranParser_s::cmFortranParser_s(std::vector<std::string> includes,
+cmFortranParser_s::cmFortranParser_s(cmFortranCompiler fc,
+ std::vector<std::string> includes,
std::set<std::string> defines,
cmFortranSourceInfo& info)
- : IncludePath(std::move(includes))
+ : Compiler(std::move(fc))
+ , IncludePath(std::move(includes))
, PPDefinitions(std::move(defines))
, Info(info)
{