From 9edb5f57127489dec4b7cbdc1e60920e6002abea Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Sun, 12 Jun 2022 16:13:22 +0200 Subject: API dox: use more markup for code or commandline samples NO_CHANGELOG --- modules/ECMUseFindModules.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/ECMUseFindModules.cmake') diff --git a/modules/ECMUseFindModules.cmake b/modules/ECMUseFindModules.cmake index d8bcf7b4..c00d6716 100644 --- a/modules/ECMUseFindModules.cmake +++ b/modules/ECMUseFindModules.cmake @@ -20,12 +20,12 @@ found, so it is not necessary to ``include(ECMUseFindModules)`` explicitly. This allows selective use of the find modules provided by ECM, including deferring to CMake's versions of those modules if it has them. Rather than adding ``${ECM_FIND_MODULE_DIR}`` to ``CMAKE_MODULE_PATH``, you use -ecm_use_find_modules() to copy the modules you want to a local (build) +``ecm_use_find_modules()`` to copy the modules you want to a local (build) directory, and add that to ``CMAKE_MODULE_PATH``. -The find modules given to MODULES will be copied to the directory given by DIR +The find modules given to ``MODULES`` will be copied to the directory given by ``DIR`` (which should be located in ``${CMAKE_BINARY_DIR}`` and added to -``CMAKE_MODULE_PATH``). If NO_OVERRIDE is given, only modules not also +``CMAKE_MODULE_PATH``). If ``NO_OVERRIDE`` is given, only modules not also provided by CMake will be copied. Example: -- cgit v1.2.1