<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">When executing test VSGNUFortran using Intel Fortran Compiler 15.xx, the following warning is issued just before compilation:<br><br>  TargetPath(...) does not match the Linker's OutputFile property value (...).<br>  This may cause your project to build incorrectly.<br>  To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).<br><br>Subsequently, an error is reported during linking.<br><br>The fix involves setting 'OutputDirectory' using the same method as is used to set the 'OutputFile' in the generated project file.<br><br>Signed-off-by: Vincent Newsum <<a href="http://public.kitware.com/mailman/listinfo/cmake-developers">vynewsum at gmail dot com</a>><br>---<br> Source/cmLocalVisualStudio7Generator.cxx | 2 +-<br> 1 file changed, 1 insertion(+), 1 deletion(-)<br><br>diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx<br>index 914df5f..a071492 100644<br>--- a/Source/cmLocalVisualStudio7Generator.cxx<br>+++ b/Source/cmLocalVisualStudio7Generator.cxx<br>@@ -670,7 +670,7 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout,<br>   fout << "\t\t<Configuration\n"<br>        << "\t\t\tName=\"" << configName<br>        << "|" << gg->GetPlatformName() << "\"\n"<br>-       << "\t\t\tOutputDirectory=\"" << configName << "\"\n";<br>+       << "\t\t\tOutputDirectory=\"" << target.GetDirectory(configName) << "\"\n";<br>   // This is an internal type to Visual Studio, it seems that:<br>   // 4 == static library<br>   // 2 == dll<br>-- <br>1.9.4.msysgit.0<br></div></div>