aboutsummaryrefslogtreecommitdiff
path: root/modules/FindCarbon.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindCarbon.cmake')
-rw-r--r--modules/FindCarbon.cmake8
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/FindCarbon.cmake b/modules/FindCarbon.cmake
index 2b0d979e..de788f74 100644
--- a/modules/FindCarbon.cmake
+++ b/modules/FindCarbon.cmake
@@ -8,15 +8,11 @@
# 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)
-