Warning, /frameworks/kdelibs4support/cmake/modules/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 # Copyright (c) 2009, Harald Fernengel <harry@kdevelop.org> 0007 # 0008 # Redistribution and use is allowed according to the terms of the BSD license. 0009 # For details see the accompanying COPYING-CMAKE-SCRIPTS file. 0010 0011 include(CMakeFindFrameworks) 0012 0013 cmake_find_frameworks(IOKit) 0014 cmake_find_frameworks(CoreFoundation) 0015 0016 if (IOKit_FRAMEWORKS) 0017 set(IOKIT_LIBRARY "-framework IOKit -framework CoreFoundation" CACHE FILEPATH "IOKit framework" FORCE) 0018 set(IOKIT_FOUND 1) 0019 endif (IOKit_FRAMEWORKS) 0020 0021 include(FindPackageHandleStandardArgs) 0022 find_package_handle_standard_args(IOKit DEFAULT_MSG IOKIT_LIBRARY) 0023