Fix in-tree builds

This commit is contained in:
Cameron Gutman 2019-02-16 00:42:09 -08:00
commit a8f72df7f8

View file

@ -289,7 +289,9 @@ defineTest(copyToDestDir) {
files = $$1
for(FILE, files) {
QMAKE_POST_LINK += $$QMAKE_COPY $$shell_quote($$shell_path($$PWD/$$FILE)) $$shell_quote($$shell_path($$OUT_PWD)) $$escape_expand(\\n\\t)
!equals(PWD, $$OUT_PWD) {
QMAKE_POST_LINK += $$QMAKE_COPY $$shell_quote($$shell_path($$PWD/$$FILE)) $$shell_quote($$shell_path($$OUT_PWD)) $$escape_expand(\\n\\t)
}
}
export(QMAKE_POST_LINK)