From 69c6068c0dd46ec0c3b6898e76158f1a94a1050b Mon Sep 17 00:00:00 2001 From: Josef Rokos Date: Tue, 9 Feb 2016 10:10:22 +0100 Subject: [PATCH] Added -p switch to cp command in ODB build phase. --- odb.pri | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/odb.pri b/odb.pri index afcea2e..237db9a 100644 --- a/odb.pri +++ b/odb.pri @@ -72,7 +72,12 @@ odb.clean = $$TARGET-odb.cxx $$TARGET-odb.hxx $$TARGET-odb.ixx $$TARGET.sql QMAKE_EXTRA_COMPILERS += odb odbhc.target = odbhc -odbhc.commands = $(COPY) $$H_DIR . +unix { + odbhc.commands = $(COPY) -p $$H_DIR . +} +win32 { + odbhc.commands = $(COPY) $$H_DIR . +} QMAKE_EXTRA_TARGETS += odbhc PRE_TARGETDEPS += odbhc