Skip to content

FindProcstat: Fix CMake warning and use an imported target

Previously we were getting the following warning:

The package name passed to `find_package_handle_standard_args` (PROCSTAT)
does not match the name of the calling package (Procstat).  This can lead
to problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.

Merge request reports