From c21637a01db7f6958c816bfe2a8b0383b96e8f68 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Wed, 16 Apr 2014 22:38:29 +0300 Subject: Fixed unity builds for Qt5. --- backends.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'backends.py') diff --git a/backends.py b/backends.py index e7b6a9cc2..55f31925d 100644 --- a/backends.py +++ b/backends.py @@ -218,7 +218,8 @@ class Backend(): for src in gen_src_deps: src_list.append(src) if is_unity: - unity_src.append(src) + unity_src.append(os.path.join(self.environment.get_build_dir(), src)) + header_deps.append(src) else: # Generated targets are ordered deps because the must exist # before the sources compiling them are used. After the first -- cgit v1.2.3