diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index a286049cb..ca8310c91 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -2522,7 +2522,7 @@ WriteMidlOptions(std::string const& /*config*/,
}
this->WriteString("%(AdditionalIncludeDirectories)"
"\n", 0);
- this->WriteString("$(IntDir)\n", 3);
+ this->WriteString("$(ProjectDir)/$(IntDir)\n", 3);
this->WriteString("%(Filename).h\n", 3);
this->WriteString(
"%(Filename).tlb\n", 3);