1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

Only change COPY_DIR to cp -r -f if QMAKE_SH is defined, consistent with win32-g++ mkspec.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2550 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
cwabbott 2011-01-23 18:59:25 +00:00 committed by cwabbott
parent ae324ffd6e
commit 8cddf2913d

View File

@ -49,7 +49,8 @@ equals(TEST, 1) {
DEFINES += WITH_TESTS
}
win32:QMAKE_COPY_DIR = cp -r -f
#ideally, we would want a qmake.conf patch, but this does the trick...
win32:!isEmpty(QMAKE_SH):QMAKE_COPY_DIR = cp -r -f
GCS_SOURCE_TREE = $$PWD
isEmpty(GCS_BUILD_TREE) {