summaryrefslogtreecommitdiff
path: root/Modules/CMakeFindXCode.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CMakeFindXCode.cmake')
-rw-r--r--Modules/CMakeFindXCode.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeFindXCode.cmake b/Modules/CMakeFindXCode.cmake
index 53967b52a7..5c4f596393 100644
--- a/Modules/CMakeFindXCode.cmake
+++ b/Modules/CMakeFindXCode.cmake
@@ -12,9 +12,9 @@
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
-FIND_PROGRAM(CMAKE_MAKE_PROGRAM
+find_program(CMAKE_MAKE_PROGRAM
NAMES xcodebuild
PATHS
/usr/bin
)
-MARK_AS_ADVANCED(CMAKE_MAKE_PROGRAM)
+mark_as_advanced(CMAKE_MAKE_PROGRAM)