From 7f8b93ab0adb941bfc461c3a16476c5dda333f2f Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 12 Apr 2017 09:33:03 -0400 Subject: CheckSymbolExists: Document that intrinsics may not be detected Fixes: #16794 --- Modules/CheckSymbolExists.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Modules/CheckSymbolExists.cmake') 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. -- cgit v1.2.1