Warning, /frameworks/solid/cmake/FindIOKit.cmake is written in an unsupported language. File is not indexed.

0001 # - Find IOKit on Mac
0002 #
0003 #  IOKIT_LIBRARY - the library to use IOKit
0004 #  IOKIT_FOUND - true if IOKit has been found
0005 
0006 # SPDX-FileCopyrightText: 2009 Harald Fernengel <harry@kdevelop.org>
0007 #
0008 # SPDX-License-Identifier: BSD-3-Clause
0009 
0010 include(CMakeFindFrameworks)
0011 
0012 cmake_find_frameworks(IOKit)
0013 cmake_find_frameworks(CoreFoundation)
0014 
0015 if (IOKit_FRAMEWORKS)
0016    set(IOKIT_LIBRARY "-framework IOKit -framework CoreFoundation" CACHE FILEPATH "IOKit framework" FORCE)
0017    set(IOKIT_FOUND 1)
0018 endif (IOKit_FRAMEWORKS)
0019 
0020 include(FindPackageHandleStandardArgs)
0021 find_package_handle_standard_args(IOKit DEFAULT_MSG IOKIT_LIBRARY)