summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_LANG_CLANG_TIDY.rst
diff options
context:
space:
mode:
authorDavid Demelier <markand@malikania.fr>2018-08-21 20:45:05 (GMT)
committerBrad King <brad.king@kitware.com>2018-08-24 17:37:24 (GMT)
commit85432f489879261089729c7c22c23a826832e7ea (patch)
treea1a6e39388576423abc7d5a1f745d8d559ed08c8 /Help/variable/CMAKE_LANG_CLANG_TIDY.rst
parentc4ab098097f4fe1bc85ee29c6de390dff435f63f (diff)
downloadCMake-85432f489879261089729c7c22c23a826832e7ea.zip
CMake-85432f489879261089729c7c22c23a826832e7ea.tar.gz
CMake-85432f489879261089729c7c22c23a826832e7ea.tar.bz2
Help: Fix typo in clang-tidy example -checks option
Diffstat (limited to 'Help/variable/CMAKE_LANG_CLANG_TIDY.rst')
-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)