summaryrefslogtreecommitdiff
path: root/Modules/CheckSymbolExists.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-12 09:33:03 -0400
committerBrad King <brad.king@kitware.com>2017-04-12 09:33:03 -0400
commit7f8b93ab0adb941bfc461c3a16476c5dda333f2f (patch)
treede64f63d98980e1b588be0485ad1ba1851171258 /Modules/CheckSymbolExists.cmake
parent91233d563b196fe0ee6c4d1dec0b20990723946b (diff)
downloadcmake-7f8b93ab0adb941bfc461c3a16476c5dda333f2f.tar.gz
CheckSymbolExists: Document that intrinsics may not be detected
Fixes: #16794
Diffstat (limited to 'Modules/CheckSymbolExists.cmake')
-rw-r--r--Modules/CheckSymbolExists.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CheckSymbolExists.cmake b/Modules/CheckSymbolExists.cmake
index d92f4b2cb2..6f1afcfda3 100644
--- a/Modules/CheckSymbolExists.cmake
+++ b/Modules/CheckSymbolExists.cmake
@@ -22,8 +22,8 @@ or macro in ``C``.
If the header files define the symbol as a macro it is considered
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.
-If the symbol is a type or enum value it will not be recognized
+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`).
If the check needs to be done in C++, consider using
:module:`CheckCXXSymbolExists` instead.