mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-05 04:03:22 +03:00
Automoc: also the makefile-COMPILE_DEFINITIONS
Alex
This commit is contained in:
1 parent
894e91a945
commit
ea12871241
1 file changed
+6
@@ -209,6 +209,12 @@ void cmQtAutomoc::SetupAutomocTarget(cmTarget* target)
|
||||
|
||||
const char* tmp = target->GetProperty("COMPILE_DEFINITIONS");
|
||||
std::string _moc_compile_defs = (tmp!=0 ? tmp : "");
|
||||
tmp = makefile->GetProperty("COMPILE_DEFINITIONS");
|
||||
if (tmp)
|
||||
{
|
||||
_moc_compile_defs += ";";
|
||||
_moc_compile_defs += tmp;
|
||||
}
|
||||
tmp = target->GetProperty("AUTOMOC_MOC_OPTIONS");
|
||||
std::string _moc_options = (tmp!=0 ? tmp : "");
|
||||
|
||||
|
||||
Reference in new issue
Block a user