summaryrefslogtreecommitdiffstats
path: root/Modules/CheckCCompilerFlag.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-27 11:02:43 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-10-27 11:02:49 (GMT)
commit479a9dfb6921b9357a827dc05ed0091af759f9fe (patch)
treea48bd935d551dc503865ae11f50e2a17704b18fc /Modules/CheckCCompilerFlag.cmake
parent374cca779baa2584bc071e4dca9a5d31d62cc331 (diff)
parentd192918586364b98e916887b190da825c1373f7f (diff)
downloadCMake-479a9dfb6921b9357a827dc05ed0091af759f9fe.zip
CMake-479a9dfb6921b9357a827dc05ed0091af759f9fe.tar.gz
CMake-479a9dfb6921b9357a827dc05ed0091af759f9fe.tar.bz2
Merge topic 'check-module-name-conflicts' into release-3.19
d192918586 Modules: Do not implicitly add new functions via old Check Modules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5424
Diffstat (limited to 'Modules/CheckCCompilerFlag.cmake')
-rw-r--r--Modules/CheckCCompilerFlag.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CheckCCompilerFlag.cmake b/Modules/CheckCCompilerFlag.cmake
index f835f29..335b437 100644
--- a/Modules/CheckCCompilerFlag.cmake
+++ b/Modules/CheckCCompilerFlag.cmake
@@ -34,8 +34,8 @@ effect or even a specific one is beyond the scope of this module.
include_guard(GLOBAL)
include(CheckCSourceCompiles)
-include(CheckCompilerFlag)
+include(Internal/CheckCompilerFlag)
macro (CHECK_C_COMPILER_FLAG _FLAG _RESULT)
- check_compiler_flag(C "${_FLAG}" ${_RESULT})
+ cmake_check_compiler_flag(C "${_FLAG}" ${_RESULT})
endmacro ()