VS: Restore CMAKE_GENERATOR_FC variable
In commit bed6c388 (VS,Xcode: Remove unused CMAKE_GENERATOR_* variables, 2013-02-19) we removed this variable among others from the VS generator claiming they were all not used. In fact the Fortran compiler detection module CMakeDetermineFortranCompiler.cmake uses CMAKE_GENERATOR_FC even for the Visual Studio IDE generators because it does not use the full IDE compiler id detection like the C and C++ language files do.
This commit is contained in:
parent
bed6c38896
commit
9f94181634
@ -29,6 +29,7 @@ void cmGlobalVisualStudio7Generator
|
||||
{
|
||||
mf->AddDefinition("CMAKE_GENERATOR_RC", "rc");
|
||||
mf->AddDefinition("CMAKE_GENERATOR_NO_COMPILER_ENV", "1");
|
||||
mf->AddDefinition("CMAKE_GENERATOR_FC", "ifort");
|
||||
this->AddPlatformDefinitions(mf);
|
||||
|
||||
// Create list of configurations requested by user's cache, if any.
|
||||
|
Loading…
x
Reference in New Issue
Block a user