Warning, /kdevelop/kdevelop/cmake/modules/FindCppcheck.cmake is written in an unsupported language. File is not indexed.

0001 # Find the cppcheck executable
0002 #
0003 # Defines the following variables
0004 #  Cppcheck_EXECUTABLE - path of the Cppcheck executable
0005 
0006 #=============================================================================
0007 # SPDX-FileCopyrightText: 2017 Friedrich W. H. Kossebau <kossebau@kde.org>
0008 #
0009 # SPDX-License-Identifier: BSD-3-Clause
0010 #=============================================================================
0011 
0012 find_program(Cppcheck_EXECUTABLE NAMES cppcheck)
0013 
0014 include(FindPackageHandleStandardArgs)
0015 find_package_handle_standard_args(Cppcheck DEFAULT_MSG Cppcheck_EXECUTABLE)
0016 
0017 mark_as_advanced(Cppcheck_EXECUTABLE)