blob: 119fa84f3610282c3926c898d3d48bbc472c0e07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#
# - Find macOS frameworks
# Find various macOS frameworks if we're on macOS
#
# APPLE_APPLICATION_SERVICES_LIBRARY - ApplicationServices framework
# APPLE_CORE_FOUNDATION_LIBRARY - CoreFoundation frameowkr
# APPLE_SYSTEM_CONFIGURATION_LIBRARY - SystemConfiguration framework
# HAVE_MACOS_FRAMEWORKS - True if we're on macOS
if(APPLE)
#
# We assume that APPLE means macOS so that we have the macOS
# frameworks.
#
set(HAVE_MACOS_FRAMEWORKS 1)
set(MACOS_FRAMEWORKS_FOUND TRUE)
FIND_LIBRARY (APPLE_APPLICATION_SERVICES_LIBRARY ApplicationServices)
FIND_LIBRARY (APPLE_CORE_FOUNDATION_LIBRARY CoreFoundation)
FIND_LIBRARY (APPLE_SYSTEM_CONFIGURATION_LIBRARY SystemConfiguration)
endif()
|