~ubuntu-branches/ubuntu/wily/qca2/wily-proposed

« back to all changes in this revision

Viewing changes to qca/cmake/modules/FindCarbon.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2007-10-27 18:51:54 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20071027185154-4ir9ys3h2q9fofrw
Tags: 2.0.0-2
Upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (c) 2006, Benjamin Reed, <ranger@befunk.com>
2
 
#
3
 
# Redistribution and use is allowed according to the terms of the BSD license.
4
 
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
5
 
 
6
 
INCLUDE(CMakeFindFrameworks)
7
 
 
8
 
CMAKE_FIND_FRAMEWORKS(Carbon)
9
 
 
10
 
if (Carbon_FRAMEWORKS)
11
 
   set(CARBON_LIBRARY "-framework Carbon" CACHE FILEPATH "Carbon framework" FORCE)
12
 
   set(CARBON_FOUND 1)
13
 
endif (Carbon_FRAMEWORKS)