summaryrefslogtreecommitdiff
path: root/Modules/CheckOBJCSourceCompiles.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CheckOBJCSourceCompiles.cmake')
-rw-r--r--Modules/CheckOBJCSourceCompiles.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CheckOBJCSourceCompiles.cmake b/Modules/CheckOBJCSourceCompiles.cmake
index aad2bdce7a..c268ef9050 100644
--- a/Modules/CheckOBJCSourceCompiles.cmake
+++ b/Modules/CheckOBJCSourceCompiles.cmake
@@ -68,8 +68,8 @@ Check if given Objective-C source compiles and links into an executable.
#]=======================================================================]
include_guard(GLOBAL)
-include(CheckSourceCompiles)
+include(Internal/CheckSourceCompiles)
macro(CHECK_OBJC_SOURCE_COMPILES SOURCE VAR)
- check_source_compiles(OBJC "${SOURCE}" ${VAR} ${ARGN})
+ cmake_check_source_compiles(OBJC "${SOURCE}" ${VAR} ${ARGN})
endmacro()