FindLibcapΒΆ
Try to find the setcap binary and cap libraries
This will define:
- Libcap_FOUND
- system has the cap library and setcap binary 
- Libcap_LIBRARIES
- cap libraries to link against 
- SETCAP_EXECUTABLE
- path of the setcap binary 
- In addition, the following targets are defined:
- Libcap::SetCapabilities
Since 5.80.0