blob: 584e225d204e7a0c1c67e3b2ae59d98a629f7193 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# IOKit_INCLUDE_DIR
# IOKit_LIBRARIES
# IOKit_FOUND
include(LibFindMacros)
# IOKit depends on CoreFoundation
find_package(CoreFoundation REQUIRED)
find_path(IOKit_INCLUDE_DIR
IOKitLib.h
PATH_SUFFIXES IOKit
)
find_library(IOKit_LIBRARY
NAMES IOKit
)
set(IOKit_PROCESS_INCLUDES IOKit_INCLUDE_DIR CoreFoundation_INCLUDE_DIR)
set(IOKit_PROCESS_LIBS IOKit_LIBRARY CoreFoundation_LIBRARIES)
libfind_process(IOKit)
|