Fix in-tree builds
This commit is contained in:
parent
ab4127f940
commit
a8f72df7f8
1 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue