macos related fixes

This commit is contained in:
Martin Rotter 2022-05-10 07:50:11 +02:00
parent 76912b6d80
commit 5bad3b2db7
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ RSS Guard is a cross-platform application, and at this point it is known to work
* Windows 7+
* GNU/Linux (including PinePhone and other Linux-based phone operating systems)
* BSD (FreeBSD, OpenBSD, NetBSD, etc.)
* macOS 10.10+
* macOS 10.13+
* OS/2 (ArcaOS, eComStation)
## Major Features <a id="mfe"></a>

View File

@ -645,8 +645,8 @@ if(UNIX AND NOT APPLE AND NOT ANDROID)
endif()
if(APPLE)
target_compile_options(rssguard PUBLIC -mmacosx-version-min=10.8)
target_link_options(rssguard PUBLIC -mmacosx-version-min=10.8)
target_compile_options(rssguard PUBLIC -mmacosx-version-min=10.13)
target_link_options(rssguard PUBLIC -mmacosx-version-min=10.13)
target_link_libraries(rssguard PUBLIC
"-framework AppKit"
)