Added -p switch to cp command in ODB build phase.

This commit is contained in:
2016-02-09 10:10:22 +01:00
parent c722fe743c
commit 69c6068c0d
+6 -1
View File
@@ -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