diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-07-30 14:44:57 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-07-30 14:44:57 (GMT) |
commit | d6f02cd9110267d105c03f2979e4744a6093bcfc (patch) | |
tree | 467b9318fa5df61fd3dbf8868c71d6e3295a203a | |
parent | 08221c2a49ee450cd16a00849d0fb14b08c1b17f (diff) | |
download | CMake-d6f02cd9110267d105c03f2979e4744a6093bcfc.zip CMake-d6f02cd9110267d105c03f2979e4744a6093bcfc.tar.gz CMake-d6f02cd9110267d105c03f2979e4744a6093bcfc.tar.bz2 |
BUG: fix for bug 7421, fortran did not get arch flags on the mac
-rw-r--r-- | Source/cmLocalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 1c6df15..dd978fe 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1630,7 +1630,7 @@ void cmLocalGenerator::AddLanguageFlags(std::string& flags, const char* sysrootDefault = this->Makefile->GetDefinition("CMAKE_OSX_SYSROOT_DEFAULT"); bool flagsUsed = false; - if(osxArch && sysroot && lang && lang[0] =='C') + if(osxArch && sysroot && lang && (lang[0] =='C' || lang[0] == 'F')) { std::vector<std::string> archs; cmSystemTools::ExpandListArgument(std::string(osxArch), |