summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-06 14:42:42 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-06 14:42:42 (GMT)
commitb37fb49646909b489a062088ed5aa1e88d896f83 (patch)
treee38a95acee8062c5c798bf9def024c2e4420c856 /Source
parent6dd08e5fe0fffc11c0f6e6d7633b692703f59f4f (diff)
parent0a203db5dc4c654a488777acd785337dd24137e2 (diff)
downloadCMake-b37fb49646909b489a062088ed5aa1e88d896f83.zip
CMake-b37fb49646909b489a062088ed5aa1e88d896f83.tar.gz
CMake-b37fb49646909b489a062088ed5aa1e88d896f83.tar.bz2
Merge branch 'fortran-module-preprocessor-defs' into release
Diffstat (limited to 'Source')
-rw-r--r--Source/cmDependsFortran.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx
index f12116e..1b2586c 100644
--- a/Source/cmDependsFortran.cxx
+++ b/Source/cmDependsFortran.cxx
@@ -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);
}