summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-12 13:33:03 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-12 13:33:03 (GMT)
commit7f8b93ab0adb941bfc461c3a16476c5dda333f2f (patch)
treede64f63d98980e1b588be0485ad1ba1851171258 /Modules
parent91233d563b196fe0ee6c4d1dec0b20990723946b (diff)
downloadCMake-7f8b93ab0adb941bfc461c3a16476c5dda333f2f.zip
CMake-7f8b93ab0adb941bfc461c3a16476c5dda333f2f.tar.gz
CMake-7f8b93ab0adb941bfc461c3a16476c5dda333f2f.tar.bz2
CheckSymbolExists: Document that intrinsics may not be detected
Fixes: #16794
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CheckSymbolExists.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CheckSymbolExists.cmake b/Modules/CheckSymbolExists.cmake
index d92f4b2..6f1afcf 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.