1
0
Fork 0

Removed SPMediaKeyTap solution for macOS media keys.

This commit is contained in:
23rd 2021-06-09 11:45:34 +03:00
parent 03efe01ff9
commit 97b9c3f6d8
2 changed files with 0 additions and 29 deletions

View file

@ -59,9 +59,6 @@ add_checked_subdirectory(qr_code_generator)
add_checked_subdirectory(ranges)
add_checked_subdirectory(rlottie)
add_checked_subdirectory(rnnoise)
if (APPLE)
add_checked_subdirectory(sp_media_key_tap)
endif()
if (LINUX AND NOT DESKTOP_APP_DISABLE_DBUS_INTEGRATION)
add_checked_subdirectory(statusnotifieritem)
endif()

View file

@ -1,26 +0,0 @@
# This file is part of Desktop App Toolkit,
# a set of libraries for developing nice desktop applications.
#
# For license and copyright information please follow this link:
# https://github.com/desktop-app/legal/blob/master/LEGAL
if (EXISTS ${third_party_loc}/SPMediaKeyTap)
add_library(external_sp_media_key_tap STATIC)
add_library(desktop-app::external_sp_media_key_tap ALIAS external_sp_media_key_tap)
init_target(external_sp_media_key_tap "(external)")
set(sp_media_key_tap_loc ${third_party_loc}/SPMediaKeyTap)
target_sources(external_sp_media_key_tap
PRIVATE
${sp_media_key_tap_loc}/SPMediaKeyTap.m
${sp_media_key_tap_loc}/SPMediaKeyTap.h
${sp_media_key_tap_loc}/SPInvocationGrabbing/NSObject+SPInvocationGrabbing.m
${sp_media_key_tap_loc}/SPInvocationGrabbing/NSObject+SPInvocationGrabbing.h
)
target_include_directories(external_sp_media_key_tap SYSTEM
INTERFACE
${sp_media_key_tap_loc}
)
endif()