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