mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-16 11:40:25 -06:00
Help: refer to CheckSourceCompiles instead of older
This commit is contained in:
@@ -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::
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user