diff options
author | Brad King <brad.king@kitware.com> | 2017-04-12 13:33:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-12 13:33:03 (GMT) |
commit | 7f8b93ab0adb941bfc461c3a16476c5dda333f2f (patch) | |
tree | de64f63d98980e1b588be0485ad1ba1851171258 /Modules | |
parent | 91233d563b196fe0ee6c4d1dec0b20990723946b (diff) | |
download | CMake-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.cmake | 4 |
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. |