summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutomoc.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2011-08-25 19:39:51 (GMT)
committerStephen Kelly <steveire@gmail.com>2011-08-25 19:39:51 (GMT)
commit7bf2c1aa3ecd4921a19391cd9b37d78045a6e65d (patch)
tree5d4842ed4e2624efe29ad57fe37f9d32229e4633 /Source/cmQtAutomoc.cxx
parent920a046015799a14374e5c69072aa14f2723fda0 (diff)
downloadCMake-7bf2c1aa3ecd4921a19391cd9b37d78045a6e65d.zip
CMake-7bf2c1aa3ecd4921a19391cd9b37d78045a6e65d.tar.gz
CMake-7bf2c1aa3ecd4921a19391cd9b37d78045a6e65d.tar.bz2
Create moc files in the current binary dir, not the top level.
Diffstat (limited to 'Source/cmQtAutomoc.cxx')
-rw-r--r--Source/cmQtAutomoc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutomoc.cxx b/Source/cmQtAutomoc.cxx
index ff96e5b..abda47e 100644
--- a/Source/cmQtAutomoc.cxx
+++ b/Source/cmQtAutomoc.cxx
@@ -207,7 +207,7 @@ bool cmQtAutomoc::ReadAutomocInfoFile(cmMakefile* makefile,
this->IncludeProjectDirsBefore = makefile->IsOn(
"AM_CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE");
this->Srcdir = makefile->GetSafeDefinition("AM_CMAKE_CURRENT_SOURCE_DIR");
- this->Builddir = makefile->GetSafeDefinition("AM_CMAKE_BINARY_DIR");
+ this->Builddir = makefile->GetSafeDefinition("AM_CMAKE_CURRENT_BINARY_DIR");
this->MocExecutable = makefile->GetSafeDefinition("AM_QT_MOC_EXECUTABLE");
this->MocCompileDefinitionsStr = makefile->GetSafeDefinition(
"AM_MOC_COMPILE_DEFINITIONS");