|
|
@@ -143,7 +143,7 @@ cmDependsFortran
|
|
|
std::vector<std::string> definitions;
|
|
|
cmMakefile* mf = this->LocalGenerator->GetMakefile();
|
|
|
if(const char* c_defines =
|
|
|
- mf->GetDefinition("CMAKE_TARGET_DEFINITIONS"))
|
|
|
+ mf->GetDefinition("CMAKE_TARGET_DEFINITIONS_Fortran"))
|
|
|
{
|
|
|
cmSystemTools::ExpandListArgument(c_defines, definitions);
|
|
|
}
|