diff options
author | Isuru Fernando <isuruf@gmail.com> | 2020-11-19 17:33:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-06-24 12:39:47 (GMT) |
commit | fe3f846e1b88341529686ee7dd334b01fe9e705e (patch) | |
tree | 95a4facd2432b9eb74d4039cd467d364d3a0ab2e /Source/cmGeneratorTarget.cxx | |
parent | 66488d4eb31d372d8e06ce78e5f49a7cc43974ee (diff) | |
download | CMake-fe3f846e1b88341529686ee7dd334b01fe9e705e.zip CMake-fe3f846e1b88341529686ee7dd334b01fe9e705e.tar.gz CMake-fe3f846e1b88341529686ee7dd334b01fe9e705e.tar.bz2 |
Makefiles: Add support for building Fortran intrinsics
Fixes: #21463
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index f268c6c..34797c5 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -6175,6 +6175,14 @@ std::string cmGeneratorTarget::GetFortranModuleDirectory( return this->FortranModuleDirectory; } +bool cmGeneratorTarget::IsFortranBuildingInstrinsicModules() const +{ + if (cmProp prop = this->GetProperty("Fortran_BUILDING_INSTRINSIC_MODULES")) { + return cmIsOn(*prop); + } + return false; +} + std::string cmGeneratorTarget::CreateFortranModuleDirectory( std::string const& working_dir) const { |