2013-12-17 22:53:16 +01:00
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
# Find IOKit framework (Mac OS X).
|
|
|
|
#
|
|
|
|
# Define:
|
|
|
|
# CoreFoundation_FOUND
|
|
|
|
# CoreFoundation_INCLUDE_DIR
|
|
|
|
# CoreFoundation_LIBRARY
|
|
|
|
|
|
|
|
set(CoreFoundation_FOUND false)
|
|
|
|
set(CoreFoundation_INCLUDE_DIR)
|
|
|
|
set(CoreFoundation_LIBRARY)
|
|
|
|
|
2020-08-02 22:37:52 +02:00
|
|
|
if(APPLE)
|
2013-12-17 22:53:16 +01:00
|
|
|
# The only platform it makes sense to check for CoreFoundation
|
|
|
|
find_library(CoreFoundation CoreFoundation)
|
|
|
|
if(CoreFoundation)
|
|
|
|
set(CoreFoundation_FOUND true)
|
|
|
|
set(CoreFoundation_INCLUDE_DIR ${CoreFoundation})
|
|
|
|
set(CoreFoundation_LIBRARY ${CoreFoundation})
|
2016-05-26 23:44:27 +02:00
|
|
|
endif()
|
|
|
|
endif()
|