Warning, /frameworks/kdelibs4support/cmake/modules/FindCarbon.cmake is written in an unsupported language. File is not indexed.
0001 # - Find Carbon on Mac 0002 # 0003 # CARBON_LIBRARY - the library to use Carbon 0004 # CARBON_FOUND - true if Carbon has been found 0005 0006 # Copyright (c) 2006, Benjamin Reed, <ranger@befunk.com> 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(Carbon) 0014 0015 if (Carbon_FRAMEWORKS) 0016 set(CARBON_LIBRARY "-framework Carbon" CACHE FILEPATH "Carbon framework" FORCE) 0017 set(CARBON_FOUND 1) 0018 endif (Carbon_FRAMEWORKS) 0019 0020 include(FindPackageHandleStandardArgs) 0021 find_package_handle_standard_args(Carbon DEFAULT_MSG CARBON_LIBRARY) 0022