File: FindClangCheck.cmake

package info (click to toggle)
opm-common 2022.10%2Bds-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 78,468 kB
  • sloc: cpp: 164,554; python: 2,872; sh: 216; xml: 174; ansic: 149; pascal: 136; makefile: 12
file content (11 lines) | stat: -rw-r--r-- 340 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
# Find clang-check.
#
# This module defines:
#  CLANGCHECK_PROGRAM, the clang-check executable.
#  CLANGHCECK_FOUND, If false, do not try to use cppcheck.
#
find_program(CLANGCHECK_PROGRAM NAMES clang-check clang-check-3.8)

find_package_handle_standard_args(ClangCheck DEFAULT_MSG CLANGCHECK_PROGRAM)

mark_as_advanced(CLANGCHECK_PROGRAM)