summaryrefslogtreecommitdiff
path: root/Modules/CMakeFindXCode.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CMakeFindXCode.cmake')
-rw-r--r--Modules/CMakeFindXCode.cmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/Modules/CMakeFindXCode.cmake b/Modules/CMakeFindXCode.cmake
new file mode 100644
index 000000000..53967b52a
--- /dev/null
+++ b/Modules/CMakeFindXCode.cmake
@@ -0,0 +1,20 @@
+
+#=============================================================================
+# Copyright 2005-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distribute this file outside of CMake, substitute the full
+# License text for the above reference.)
+
+FIND_PROGRAM(CMAKE_MAKE_PROGRAM
+ NAMES xcodebuild
+ PATHS
+ /usr/bin
+ )
+MARK_AS_ADVANCED(CMAKE_MAKE_PROGRAM)