Added -p switch to cp command in ODB build phase.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user