From a0f7390addb91f85158c9726590932ff56a17be3 Mon Sep 17 00:00:00 2001 From: "Oskar Roesler (bionade24)" Date: Wed, 22 Feb 2023 23:24:43 +0100 Subject: [PATCH] Fix: Move -DSAILFISH_VERSION into config.pri. --- config.pri | 1 + contrac.pro | 1 - harbour-contrac.pro | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/config.pri b/config.pri index 2b13eb8..e1182ce 100644 --- a/config.pri +++ b/config.pri @@ -1,2 +1,3 @@ # Enable to force use of OpenSSL 1.1.1 or greater DEFINES += OPENSSL_GE_1_1_1 +DEFINES += "SAILFISH_VERSION=$$SAILFISH_VERSION" diff --git a/contrac.pro b/contrac.pro index be89079..d42ff0c 100644 --- a/contrac.pro +++ b/contrac.pro @@ -137,7 +137,6 @@ greaterThan(SAILFISH_VERSION, 44) { } DEFINES += LINUX -DEFINES += "SAILFISH_VERSION=$$SAILFISH_VERSION" QT += dbus diff --git a/harbour-contrac.pro b/harbour-contrac.pro index db51d73..21ee3f6 100644 --- a/harbour-contrac.pro +++ b/harbour-contrac.pro @@ -12,5 +12,3 @@ DISTFILES += \ OTHER_FILES += \ README.md \ .clang-format - -DEFINES += "SAILFISH_VERSION=$$SAILFISH_VERSION"