summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-07 13:53:42 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-07-07 13:53:42 (GMT)
commit43fafabd99304effee88d6f3efa148c2d1a50039 (patch)
tree21990caadce939b7a3d17878b43872803fb3e042 /Source
parentd8a3208222b5cc717c927f0674152e0319b18fb0 (diff)
parent0a203db5dc4c654a488777acd785337dd24137e2 (diff)
downloadCMake-43fafabd99304effee88d6f3efa148c2d1a50039.zip
CMake-43fafabd99304effee88d6f3efa148c2d1a50039.tar.gz
CMake-43fafabd99304effee88d6f3efa148c2d1a50039.tar.bz2
Merge topic 'fortran-module-preprocessor-defs'
0a203db5 Fortran: Fix passing of preprocessor definitions to dependency scanner
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);
}