summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2020-11-25 15:45:12 (GMT)
committerBrad King <brad.king@kitware.com>2020-11-25 16:06:15 (GMT)
commit72f6b4bfbe84a369fbdf4c9671470ba8c3ce14cc (patch)
tree692c9030a9a5503281310aa960b9fd8020aec5ac /Modules/Compiler
parent9e83e77129880885d0490d6519e30c1559c5a47c (diff)
downloadCMake-72f6b4bfbe84a369fbdf4c9671470ba8c3ce14cc.zip
CMake-72f6b4bfbe84a369fbdf4c9671470ba8c3ce14cc.tar.gz
CMake-72f6b4bfbe84a369fbdf4c9671470ba8c3ce14cc.tar.bz2
Modules: Rename Internal/CMake{CheckCompiler => TryCompilerOrLinker}Flag
Rename the `CheckPIESupported` helper functions so that they don't clobber other internal functions. Also rename them to document they can't be unified with `CheckCompilerFlag`. Fixes: #21497
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/GNU.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/Compiler/GNU.cmake b/Modules/Compiler/GNU.cmake
index 668a6a9..81ab3a2 100644
--- a/Modules/Compiler/GNU.cmake
+++ b/Modules/Compiler/GNU.cmake
@@ -9,7 +9,6 @@ endif()
set(__COMPILER_GNU 1)
include(Compiler/CMakeCommonCompilerMacros)
-include(Internal/CMakeCheckCompilerFlag)
set(__pch_header_C "c-header")
set(__pch_header_CXX "c++-header")