summaryrefslogtreecommitdiff
path: root/Modules/CheckCXXCompilerFlag.cmake
diff options
context:
space:
mode:
authorscivision <scivision@users.noreply.github.com>2023-03-08 00:23:49 -0500
committerscivision <scivision@users.noreply.github.com>2023-03-14 16:48:25 -0400
commitcf48022dc52fe5dd8161d591e4fb8b1f076ce52e (patch)
tree33952b87053838b87543466889a1fcd95e13a545 /Modules/CheckCXXCompilerFlag.cmake
parent7d43bcb4db2b26d9f9f8d828198252a44b5560a0 (diff)
downloadcmake-cf48022dc52fe5dd8161d591e4fb8b1f076ce52e.tar.gz
Help:Check*: include CMAKE_REQUIRED_* vars to dedupe
CMAKE_REQUIRED_FLAGS now notes that space-delimited string, not ;-list is required, which could be surprising compared to similar options that do use ;-list
Diffstat (limited to 'Modules/CheckCXXCompilerFlag.cmake')
-rw-r--r--Modules/CheckCXXCompilerFlag.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/Modules/CheckCXXCompilerFlag.cmake b/Modules/CheckCXXCompilerFlag.cmake
index 3bc346362d..b319d90bb3 100644
--- a/Modules/CheckCXXCompilerFlag.cmake
+++ b/Modules/CheckCXXCompilerFlag.cmake
@@ -17,11 +17,6 @@ Check whether the CXX compiler supports a given flag.
a diagnostic. Stores the result in an internal cache entry
named ``<var>``.
-This command temporarily sets the ``CMAKE_REQUIRED_DEFINITIONS`` variable
-and calls the ``check_cxx_source_compiles`` macro from the
-:module:`CheckCXXSourceCompiles` module. See documentation of that
-module for a listing of variables that can otherwise modify the build.
-
A positive result from this check indicates only that the compiler did not
issue a diagnostic message when given the flag. Whether the flag has any
effect or even a specific one is beyond the scope of this module.