mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 17:11:23 +00:00
21 lines
415 B
CMake
21 lines
415 B
CMake
|
# 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)
|