summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalKdevelopGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-08-29 20:08:32 (GMT)
committerBrad King <brad.king@kitware.com>2006-08-29 20:08:32 (GMT)
commit11d5caf2011d4fa5b2046e4df2ba0f4f7d54a286 (patch)
treeb2259e803745b1f0bc0d44d38c0579265a3a7fa7 /Source/cmGlobalKdevelopGenerator.cxx
parent51607bd6759f0c2d9393efba5511d36930fac34e (diff)
downloadCMake-11d5caf2011d4fa5b2046e4df2ba0f4f7d54a286.zip
CMake-11d5caf2011d4fa5b2046e4df2ba0f4f7d54a286.tar.gz
CMake-11d5caf2011d4fa5b2046e4df2ba0f4f7d54a286.tar.bz2
ENH: Patch from Alex to fix current working directory when running executables built in KDevelop.
Diffstat (limited to 'Source/cmGlobalKdevelopGenerator.cxx')
-rw-r--r--Source/cmGlobalKdevelopGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalKdevelopGenerator.cxx b/Source/cmGlobalKdevelopGenerator.cxx
index 3c3977b..d7717cd 100644
--- a/Source/cmGlobalKdevelopGenerator.cxx
+++ b/Source/cmGlobalKdevelopGenerator.cxx
@@ -382,7 +382,7 @@ void cmGlobalKdevelopGenerator
fout<<" <run>\n";
fout<<" <mainprogram>"<<executable.c_str()<<"</mainprogram>\n";
fout<<" <directoryradio>custom</directoryradio>\n";
- fout<<" <customdirectory>/</customdirectory>\n";
+ fout<<" <customdirectory>"<<outputDir.c_str()<<"</customdirectory>\n";
fout<<" <programargs></programargs>\n";
fout<<" <terminal>false</terminal>\n";
fout<<" <autocompile>true</autocompile>\n";