File: Findsmartctl.cmake

package info (click to toggle)
plasma-disks 6.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,056 kB
  • sloc: cpp: 1,604; xml: 294; makefile: 5; sh: 2
file content (12 lines) | stat: -rw-r--r-- 300 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
# SPDX-License-Identifier: BSD-3-Clause
# SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org>

find_program(smartctl_EXE smartctl)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(smartctl
    FOUND_VAR
        smartctl_FOUND
    REQUIRED_VARS
        smartctl_EXE
)