summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmGlobalKdevelopGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalKdevelopGenerator.cxx b/Source/cmGlobalKdevelopGenerator.cxx
index 69826e0..aa01d8e 100644
--- a/Source/cmGlobalKdevelopGenerator.cxx
+++ b/Source/cmGlobalKdevelopGenerator.cxx
@@ -245,8 +245,8 @@ bool cmGlobalKdevelopGenerator
if (fileToOpen.empty())
{
std::string ext = cmSystemTools::GetFilenameExtension(tmp);
- if ((ext==".c") || (ext==".cc") || (ext==".cpp")
- || (ext==".C") || (ext==".h"))
+ if ((ext==".c") || (ext==".cc") || (ext==".cpp") || (ext==".cxx")
+ || (ext==".C") || (ext==".h") || (ext==".hpp"))
{
fileToOpen=tmp;
}