diff options
author | Michael Hirsch <scivision@users.noreply.gitlab.kitware.com> | 2021-08-11 17:39:44 (GMT) |
---|---|---|
committer | Michael Hirsch <scivision@users.noreply.gitlab.kitware.com> | 2021-08-11 17:39:44 (GMT) |
commit | 8fddc2bb2fe3d3e7debc32f1e6f8f6e376a303b8 (patch) | |
tree | 8a255fb64dcbb3b7274171b129708262eabbe85f | |
parent | af495c51c195d251b2cd832c3df29177a54c112c (diff) | |
download | CMake-8fddc2bb2fe3d3e7debc32f1e6f8f6e376a303b8.zip CMake-8fddc2bb2fe3d3e7debc32f1e6f8f6e376a303b8.tar.gz CMake-8fddc2bb2fe3d3e7debc32f1e6f8f6e376a303b8.tar.bz2 |
Help: refer to CheckSourceCompiles instead of older
-rw-r--r-- | Modules/CheckCXXSymbolExists.cmake | 2 | ||||
-rw-r--r-- | Modules/CheckSymbolExists.cmake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CheckCXXSymbolExists.cmake b/Modules/CheckCXXSymbolExists.cmake index b4da4fa..7b13c3a 100644 --- a/Modules/CheckCXXSymbolExists.cmake +++ b/Modules/CheckCXXSymbolExists.cmake @@ -25,7 +25,7 @@ Check if a symbol exists as a function, variable, or macro in ``C++``. as a function or variable then the symbol must also be available for linking. If the symbol is a type, enum value, or C++ template it will not be recognized: consider using the :module:`CheckTypeSize` - or :module:`CheckCXXSourceCompiles` module instead. + or :module:`CheckSourceCompiles` module instead. .. note:: diff --git a/Modules/CheckSymbolExists.cmake b/Modules/CheckSymbolExists.cmake index f8ca584..48ee3c4 100644 --- a/Modules/CheckSymbolExists.cmake +++ b/Modules/CheckSymbolExists.cmake @@ -24,7 +24,7 @@ available and assumed to work. If the header files declare the symbol as a function or variable then the symbol must also be available for linking (so intrinsics may not be detected). If the symbol is a type, enum value, or intrinsic it will not be recognized -(consider using :module:`CheckTypeSize` or :module:`CheckCSourceCompiles`). +(consider using :module:`CheckTypeSize` or :module:`CheckSourceCompiles`). If the check needs to be done in C++, consider using :module:`CheckCXXSymbolExists` instead. |