diff options
author | scivision <scivision@users.noreply.github.com> | 2023-03-08 05:23:49 (GMT) |
---|---|---|
committer | scivision <scivision@users.noreply.github.com> | 2023-03-14 20:48:25 (GMT) |
commit | cf48022dc52fe5dd8161d591e4fb8b1f076ce52e (patch) | |
tree | 33952b87053838b87543466889a1fcd95e13a545 /Modules/CheckCXXCompilerFlag.cmake | |
parent | 7d43bcb4db2b26d9f9f8d828198252a44b5560a0 (diff) | |
download | CMake-cf48022dc52fe5dd8161d591e4fb8b1f076ce52e.zip CMake-cf48022dc52fe5dd8161d591e4fb8b1f076ce52e.tar.gz CMake-cf48022dc52fe5dd8161d591e4fb8b1f076ce52e.tar.bz2 |
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.cmake | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Modules/CheckCXXCompilerFlag.cmake b/Modules/CheckCXXCompilerFlag.cmake index 3bc3463..b319d90 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. |