소스 검색

Merge topic 'tutorial-step5'

01c332c9c7 Tutorial: Clarify instructions in Step 5

Acked-by: Kitware Robot <[email protected]>
Merge-request: !6577
Brad King 4 년 전
부모
커밋
eb3fd11a23
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      Help/guide/tutorial/Adding System Introspection.rst

+ 4 - 1
Help/guide/tutorial/Adding System Introspection.rst

@@ -14,11 +14,14 @@ these functions using the :module:`CheckSymbolExists` module in
 the ``m`` library. If ``log`` and ``exp`` are not initially found, require the
 ``m`` library and try again.
 
+Add the checks for ``log`` and ``exp`` to ``MathFunctions/CMakeLists.txt``,
+after the call to :command:`target_include_directories`:
+
 .. literalinclude:: Step6/MathFunctions/CMakeLists.txt
   :caption: MathFunctions/CMakeLists.txt
   :name: MathFunctions/CMakeLists.txt-check_symbol_exists
   :language: cmake
-  :start-after: # does this system provide the log and exp functions?
+  :start-after: # to find MathFunctions.h, while we don't.
   :end-before: # add compile definitions
 
 If available, use :command:`target_compile_definitions` to specify