aboutsummaryrefslogtreecommitdiff
path: root/modules/FindCarbon.cmake
blob: 38a1aa724be91d48eb85ca06440cd65751f91d01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Copyright (c) 2006, Benjamin Reed, <ranger@befunk.com>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.

INCLUDE(CMakeFindFrameworks)

CMAKE_FIND_FRAMEWORKS(Carbon)

if (Carbon_FRAMEWORKS)
   set(CARBON_LIBRARY "-framework Carbon" CACHE FILEPATH "Carbon framework" FORCE)
   set(CARBON_FOUND 1)
endif (Carbon_FRAMEWORKS)