summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmTarget.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 6570754..7b7db49 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -421,6 +421,10 @@ void cmTarget::AddLinkLibrary(cmMakefile& mf,
bool cmTarget::HasCxx() const
{
+ if(this->GetProperty("HAS_CXX"))
+ {
+ return true;
+ }
for(std::vector<cmSourceFile*>::const_iterator i = m_SourceFiles.begin();
i != m_SourceFiles.end(); ++i)
{