Browse Source

Help: refer to CheckSourceCompiles instead of older

Michael Hirsch 4 năm trước cách đây
mục cha
commit
8fddc2bb2f
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      Modules/CheckCXXSymbolExists.cmake
  2. 1 1
      Modules/CheckSymbolExists.cmake

+ 1 - 1
Modules/CheckCXXSymbolExists.cmake

@@ -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::
 

+ 1 - 1
Modules/CheckSymbolExists.cmake

@@ -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.