summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-08-24 17:39:36 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-08-24 17:39:42 (GMT)
commit3c1f76b1c4ca5054e78949fc1e9a8fda4b465c58 (patch)
treeb64154bf7bf57c6ac9a6ddfcf7d4829f140efcef /Help/variable
parente90670925f78dd46b8eacec9be81b456d63e104a (diff)
parent85432f489879261089729c7c22c23a826832e7ea (diff)
downloadCMake-3c1f76b1c4ca5054e78949fc1e9a8fda4b465c58.zip
CMake-3c1f76b1c4ca5054e78949fc1e9a8fda4b465c58.tar.gz
CMake-3c1f76b1c4ca5054e78949fc1e9a8fda4b465c58.tar.bz2
Merge topic 'doc-clang-tidy-typo'
85432f4898 Help: Fix typo in clang-tidy example -checks option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2303
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_LANG_CLANG_TIDY.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/variable/CMAKE_LANG_CLANG_TIDY.rst b/Help/variable/CMAKE_LANG_CLANG_TIDY.rst
index d1fccbb..bd49de3 100644
--- a/Help/variable/CMAKE_LANG_CLANG_TIDY.rst
+++ b/Help/variable/CMAKE_LANG_CLANG_TIDY.rst
@@ -9,5 +9,5 @@ created. For example:
.. code-block:: cmake
- set(CMAKE_CXX_CLANG_TIDY clang-tidy checks=-*,readability-*)
+ set(CMAKE_CXX_CLANG_TIDY clang-tidy -checks=-*,readability-*)
add_executable(foo foo.cxx)