Betsy McPhail 5 лет назад
Родитель
Сommit
d0797f62d9
1 измененных файлов с 6 добавлено и 2 удалено
  1. 6 2
      Help/guide/tutorial/index.rst

+ 6 - 2
Help/guide/tutorial/index.rst

@@ -380,8 +380,12 @@ tutorial assume that they are not common.
 If the platform has ``log`` and ``exp`` then we will use them to compute the
 If the platform has ``log`` and ``exp`` then we will use them to compute the
 square root in the ``mysqrt`` function. We first test for the availability of
 square root in the ``mysqrt`` function. We first test for the availability of
 these functions using the :module:`CheckSymbolExists` module in the top-level
 these functions using the :module:`CheckSymbolExists` module in the top-level
-``CMakeLists.txt``. We're going to use the new defines in
-``TutorialConfig.h.in``, so be sure to set them before that file is configured.
+``CMakeLists.txt``. On some platforms, we will need to link to the m library.
+If ``log`` and ``exp`` are not initially found, require the m library and try
+again.
+
+We're going to use the new defines in ``TutorialConfig.h.in``, so be sure to
+set them before that file is configured.
 
 
 .. literalinclude:: Step6/MathFunctions/CMakeLists.txt
 .. literalinclude:: Step6/MathFunctions/CMakeLists.txt
   :language: cmake
   :language: cmake