summaryrefslogtreecommitdiff
blob: f92c57f977dfe5c2fef4341508d74e30734834f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 361f930..0982647 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,15 +33,6 @@ else()
     message( FATAL_ERROR "Your operating system isn't supported yet! CMake will now exit." )
 endif()
 
-# Add a check target for our makefile.
-find_program( CPPCHECK_EXECUTABLE cppcheck
-              DOC "A tool for static C/C++ code analysis." )
-if (CPPCHECK_EXECUTABLE)
-    add_custom_target( "check"
-                       COMMAND "${CPPCHECK_EXECUTABLE}" "--enable=all" "*"
-                       WORKING_DIRECTORY src VERBATIM )
-endif()
-
 # Here we generate some of our code if we can. I package it pre-generated
 # so nobody has to go find and install gengetopt if they don't want to.
 find_program( GENGETOPT_EXECUTABLE gengetopt