diff options
-rw-r--r-- | Help/variable/CMAKE_LANG_COMPILER.rst | 3 | ||||
-rw-r--r-- | Help/variable/CPACK_CUSTOM_INSTALL_VARIABLES.rst | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Help/variable/CMAKE_LANG_COMPILER.rst b/Help/variable/CMAKE_LANG_COMPILER.rst index e694b337e3..db8f4e1faf 100644 --- a/Help/variable/CMAKE_LANG_COMPILER.rst +++ b/Help/variable/CMAKE_LANG_COMPILER.rst @@ -14,7 +14,8 @@ This variable can be set by the user during the first time a build tree is confi If a non-full path value is supplied then CMake will resolve the full path of the compiler. -The variable could be set in a user supplied toolchain file or via `-D` on the command line. +The variable could be set in a user supplied toolchain file or via +:option:`-D <cmake -D>` on the command line. .. note:: Options that are required to make the compiler work correctly can be included diff --git a/Help/variable/CPACK_CUSTOM_INSTALL_VARIABLES.rst b/Help/variable/CPACK_CUSTOM_INSTALL_VARIABLES.rst index 1c070b8faf..9bd50db01c 100644 --- a/Help/variable/CPACK_CUSTOM_INSTALL_VARIABLES.rst +++ b/Help/variable/CPACK_CUSTOM_INSTALL_VARIABLES.rst @@ -3,7 +3,7 @@ CPACK_CUSTOM_INSTALL_VARIABLES .. versionadded:: 3.21 -CPack variables (set via e.g. ``cpack -D``, ``CPackConfig.cmake`` or +CPack variables (set via e.g. :option:`cpack -D`, ``CPackConfig.cmake`` or :variable:`CPACK_PROJECT_CONFIG_FILE` scripts) are not directly visible in installation scripts. Instead, one can pass a list of ``varName=value`` pairs in the ``CPACK_CUSTOM_INSTALL_VARIABLES`` variable. At install time, |