summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGeneratorMocUic.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2018-07-22 12:26:16 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2018-07-30 07:22:46 (GMT)
commit5776639fbfe5b8da5ca7a4fbae31936cdeff6660 (patch)
tree47304ce5639f2decb8fb4195c5d256014c8adcad /Source/cmQtAutoGeneratorMocUic.cxx
parent2e9199b291879d9a47759faa178fb2f35b12bd64 (diff)
downloadCMake-5776639fbfe5b8da5ca7a4fbae31936cdeff6660.zip
CMake-5776639fbfe5b8da5ca7a4fbae31936cdeff6660.tar.gz
CMake-5776639fbfe5b8da5ca7a4fbae31936cdeff6660.tar.bz2
Autogen: Pass absolute include path in info file
Diffstat (limited to 'Source/cmQtAutoGeneratorMocUic.cxx')
-rw-r--r--Source/cmQtAutoGeneratorMocUic.cxx13
1 files changed, 5 insertions, 8 deletions
diff --git a/Source/cmQtAutoGeneratorMocUic.cxx b/Source/cmQtAutoGeneratorMocUic.cxx
index a6b0247..c364700 100644
--- a/Source/cmQtAutoGeneratorMocUic.cxx
+++ b/Source/cmQtAutoGeneratorMocUic.cxx
@@ -1247,14 +1247,11 @@ bool cmQtAutoGeneratorMocUic::Init(cmMakefile* makefile)
return false;
}
// include directory
- {
- std::string dirRel = InfoGetConfig("AM_INCLUDE_DIR");
- if (dirRel.empty()) {
- Log().ErrorFile(GeneratorT::GEN, InfoFile(),
- "Autogen include directory missing");
- return false;
- }
- Base_.AutogenIncludeDir = Base_.AbsoluteBuildPath(dirRel);
+ Base_.AutogenIncludeDir = InfoGetConfig("AM_INCLUDE_DIR");
+ if (Base_.AutogenIncludeDir.empty()) {
+ Log().ErrorFile(GeneratorT::GEN, InfoFile(),
+ "Autogen include directory missing");
+ return false;
}
// - Files