summaryrefslogtreecommitdiffstats
path: root/Source/cmBorlandMakefileGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmBorlandMakefileGenerator.cxx')
-rw-r--r--Source/cmBorlandMakefileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmBorlandMakefileGenerator.cxx b/Source/cmBorlandMakefileGenerator.cxx
index f996008..680e534 100644
--- a/Source/cmBorlandMakefileGenerator.cxx
+++ b/Source/cmBorlandMakefileGenerator.cxx
@@ -169,7 +169,7 @@ OutputBuildObjectFromSource(std::ostream& fout,
shared = true;
}
// Header files shouldn't have build rules.
- if(source.IsAHeaderFileOnly())
+ if(source.GetPropertyAsBool("HEADER_FILE_ONLY"))
{
return;
}