Create moc files in the current binary dir, not the top level.
This commit is contained in:
parent
920a046015
commit
7bf2c1aa3e
|
@ -207,7 +207,7 @@ bool cmQtAutomoc::ReadAutomocInfoFile(cmMakefile* makefile,
|
||||||
this->IncludeProjectDirsBefore = makefile->IsOn(
|
this->IncludeProjectDirsBefore = makefile->IsOn(
|
||||||
"AM_CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE");
|
"AM_CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE");
|
||||||
this->Srcdir = makefile->GetSafeDefinition("AM_CMAKE_CURRENT_SOURCE_DIR");
|
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->MocExecutable = makefile->GetSafeDefinition("AM_QT_MOC_EXECUTABLE");
|
||||||
this->MocCompileDefinitionsStr = makefile->GetSafeDefinition(
|
this->MocCompileDefinitionsStr = makefile->GetSafeDefinition(
|
||||||
"AM_MOC_COMPILE_DEFINITIONS");
|
"AM_MOC_COMPILE_DEFINITIONS");
|
||||||
|
|
Loading…
Reference in New Issue