mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
6f15e89d29
Former-commit-id: 86e560e0d4f03251ee08a648ffa6fd9a0e01ae78
22 lines
468 B
CMake
22 lines
468 B
CMake
# -----------------------------------------------------------------------------
|
|
# Find IOKit framework (Mac OS X).
|
|
#
|
|
# Define:
|
|
# IOKit_FOUND
|
|
# IOKit_INCLUDE_DIR
|
|
# IOKit_LIBRARY
|
|
|
|
set(IOKit_FOUND false)
|
|
set(IOKit_INCLUDE_DIR)
|
|
set(IOKit_LIBRARY)
|
|
|
|
if(APPLE)
|
|
# The only platform it makes sense to check for IOKit
|
|
find_library(IOKit IOKit)
|
|
if(IOKit)
|
|
set(IOKit_FOUND true)
|
|
set(IOKit_INCLUDE_DIR ${IOKit})
|
|
set(IOKit_LIBRARY ${IOKit})
|
|
endif(IOKit)
|
|
endif(APPLE)
|