diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-08-12 07:49:48 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-08-12 07:49:48 +0000 |
commit | 261b3691e2c7ed049e40f71843ad3a44260de9dc (patch) | |
tree | f549d15c3f60d4d124fcb523356b4db7b1d466d3 | |
parent | 29585aa3811a7ce9e195825f1f0eb3b7970ceb14 (diff) | |
download | extra-cmake-modules-261b3691e2c7ed049e40f71843ad3a44260de9dc.tar.gz extra-cmake-modules-261b3691e2c7ed049e40f71843ad3a44260de9dc.tar.bz2 |
-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
-rw-r--r-- | modules/FindCarbon.cmake | 8 |
1 files changed, 6 insertions, 2 deletions
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) + |