make version copy more flexible towards different build platforms

pull/487/head
Michael Zanetti 2021-03-24 14:08:07 +01:00
parent 6645169786
commit 09a560f788
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ linux:!android {
android: {
QMAKE_CXXFLAGS += -Wno-deprecated-declarations
QMAKE_POST_LINK += cp $$top_srcdir/version.txt $$top_builddir/
QMAKE_POST_LINK += $$QMAKE_COPY $$shell_path($$top_srcdir/version.txt) $$shell_path($$top_builddir/)
!equals(OVERLAY_PATH, ""):!equals(BRANDING, "") {
ANDROID_PACKAGE_SOURCE_DIR = $${OVERLAY_PATH}/packaging/android_$$BRANDING