From: Manuel Nickschas Date: Sun, 3 Jan 2021 13:39:28 +0000 (+0100) Subject: cmake: Determine minimum deployment target for Qt X-Git-Tag: 0.14-rc2~33 X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;h=28eb43dd1ccd882b2975c346297842c1dc074469;hp=28eb43dd1ccd882b2975c346297842c1dc074469;p=quassel.git cmake: Determine minimum deployment target for Qt The minimum version of macOS supported by Qt may differ from the one provided by the Xcode SDK in use. If started on a macOS that is older than the minimum version indicated by Qt, the application might crash. Qt's minimum deployment target is not available directly as a define, variable or CMake/qmake property, but can be extracted from qmake using a rather stupid hack. Use this to set a cache variable that will be used in subsequent commits when generating the package's Info.plist file. ---