From 6050d6f881b64311764baed1c88d132d5b5f4f4a Mon Sep 17 00:00:00 2001 From: Benjamin Reed Date: Fri, 27 Jan 2006 22:52:34 +0000 Subject: d'oh! forgot to add this svn path=/trunk/KDE/kdelibs/; revision=503034 --- modules/FindCarbon.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 modules/FindCarbon.cmake (limited to 'modules/FindCarbon.cmake') diff --git a/modules/FindCarbon.cmake b/modules/FindCarbon.cmake new file mode 100644 index 00000000..ffcd114a --- /dev/null +++ b/modules/FindCarbon.cmake @@ -0,0 +1,8 @@ +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) -- cgit v1.2.1 From ffc69376dc591eae7b0ed2e974a599fb1b8b2aa8 Mon Sep 17 00:00:00 2001 From: David Faure Date: Wed, 15 Feb 2006 10:47:36 +0000 Subject: Lowercase some common keywords to improve readability svn path=/trunk/KDE/kdelibs/; revision=509624 --- modules/FindCarbon.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/FindCarbon.cmake') diff --git a/modules/FindCarbon.cmake b/modules/FindCarbon.cmake index ffcd114a..f2fa376b 100644 --- a/modules/FindCarbon.cmake +++ b/modules/FindCarbon.cmake @@ -2,7 +2,7 @@ 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) +if(Carbon_FRAMEWORKS) + set (CARBON_LIBRARY "-framework Carbon" CACHE FILEPATH "Carbon framework" FORCE) + set (CARBON_FOUND 1) +endif(Carbon_FRAMEWORKS) -- cgit v1.2.1 From 191846e3e21c697c28bd5c8a166edeb4072161e3 Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Mon, 20 Mar 2006 21:05:37 +0000 Subject: minor cleanups: indenting, adding newline to end of file, etc. svn path=/trunk/KDE/kdelibs/; revision=520790 --- modules/FindCarbon.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/FindCarbon.cmake') diff --git a/modules/FindCarbon.cmake b/modules/FindCarbon.cmake index f2fa376b..94e81509 100644 --- a/modules/FindCarbon.cmake +++ b/modules/FindCarbon.cmake @@ -2,7 +2,7 @@ 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) +if (Carbon_FRAMEWORKS) + set(CARBON_LIBRARY "-framework Carbon" CACHE FILEPATH "Carbon framework" FORCE) + set(CARBON_FOUND 1) +endif (Carbon_FRAMEWORKS) -- cgit v1.2.1 From c778596920e0d5357f216c885e35b4f97d371a23 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Sat, 9 Sep 2006 10:18:35 +0000 Subject: added copyright notice everywhere. Now they all are BSD-licensed, as copyright holder I inserted everywhere the one who added it to svn (or Kitware if it is an enhanced copy from taken cmake) Some developers committed quite often but were not the ones who added the file, if you feel you have also copyright on the file add your name in the specific file. Copyright holders: CCMAIL: montel@kde.org CCMAIL: toscano.pino@tiscali.it CCMAIL: adymo@kdevelop.org CCMAIL: ranger@befunk.com CCMAIL: zack@kde.org CCMAIL: caslav.ilic@gmx.net CCMAIL: syntheticpp@yahoo.com CCMAIL: js@iidea.pl CCMAIL: michael.larouche@kdemail.net CCMAIL: ossi@kde.org CCMAIL: faure@kde.org Committers, but no files added so that they are not listed as copyright holders: CCMAIL: ch.ehrlicher@gmx.de CCMAIL: winter@kde.org CCMAIL: ralf.habacker@freenet.de CCMAIL: moura@kdewebdev.org CCMAIL: kde-buildsystem@kde.org Alex svn path=/trunk/KDE/kdelibs/; revision=582410 --- modules/FindCarbon.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/FindCarbon.cmake') diff --git a/modules/FindCarbon.cmake b/modules/FindCarbon.cmake index 94e81509..38a1aa72 100644 --- a/modules/FindCarbon.cmake +++ b/modules/FindCarbon.cmake @@ -1,3 +1,8 @@ +# Copyright (c) 2006, Benjamin Reed, +# +# 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) -- cgit v1.2.1 From 814455b7ad321c88e730662fda58261087b72e72 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Mon, 18 Feb 2008 19:06:32 +0000 Subject: some improvements to the docs: -some modules were not at all documented, only few are left now -the copyright message doesn't have to be printed for every module in the docs -fix FindKorundom.cmake, it didn't follow the style guide and had typos (e.g. Korumdum_FOUND instead of KORUNDUM_FOUND) Alex (will commit modified FindKDE4Internal.cmake after Christians commit) svn path=/trunk/KDE/kdelibs/; revision=776742 --- modules/FindCarbon.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/FindCarbon.cmake') diff --git a/modules/FindCarbon.cmake b/modules/FindCarbon.cmake index 38a1aa72..de788f74 100644 --- a/modules/FindCarbon.cmake +++ b/modules/FindCarbon.cmake @@ -1,3 +1,8 @@ +# - Find Carbon on Mac +# +# CARBON_LIBRARY - the library to use Carbon +# CARBON_FOUND - true if Carbon has been found + # Copyright (c) 2006, Benjamin Reed, # # Redistribution and use is allowed according to the terms of the BSD license. -- cgit v1.2.1 From 261b3691e2c7ed049e40f71843ad3a44260de9dc Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Tue, 12 Aug 2008 07:49:48 +0000 Subject: -add Carbon to the "link interface" of kdecore on Mac, this fixes linking libkopete (and shouldn't hurt, if it does, please let me know) -handle standard argument handling to FindCarbon.cmake Alex svn path=/trunk/KDE/kdelibs/; revision=845637 --- modules/FindCarbon.cmake | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'modules/FindCarbon.cmake') diff --git a/modules/FindCarbon.cmake b/modules/FindCarbon.cmake index de788f74..2b0d979e 100644 --- a/modules/FindCarbon.cmake +++ b/modules/FindCarbon.cmake @@ -8,11 +8,15 @@ # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. -INCLUDE(CMakeFindFrameworks) +include(CMakeFindFrameworks) -CMAKE_FIND_FRAMEWORKS(Carbon) +cmake_find_frameworks(Carbon) if (Carbon_FRAMEWORKS) set(CARBON_LIBRARY "-framework Carbon" CACHE FILEPATH "Carbon framework" FORCE) set(CARBON_FOUND 1) endif (Carbon_FRAMEWORKS) + +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(Carbon DEFAULT_MSG CARBON_LIBRARY) + -- cgit v1.2.1