]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: make libcap REQUIRED 62334/head
authorKefu Chai <tchaikov@gmail.com>
Mon, 17 Mar 2025 06:26:18 +0000 (14:26 +0800)
committerKefu Chai <tchaikov@gmail.com>
Mon, 17 Mar 2025 09:44:44 +0000 (17:44 +0800)
commit98b70c149d505189e4b000e65b7679b0cca555eb
tree9d96b3df1f48cf5aba6fdd3a1dee0422d11deca1
parentd4ce7b60b2f2472c86f8f41f89907aedec8b1c54
cmake: make libcap REQUIRED

this header is required when building the extended block device plugins
on linux, without it the build fails like:

```
/home/kefu/dev/ceph/src/extblkdev/ExtBlkDevInterface.h:38:10: fatal error: 'sys/capability.h' file not found
   38 | #include <sys/capability.h>
      |          ^~~~~~~~~~~~~~~~~~
```

so, let's mark this package REQUIRED, so that we can fail early
when generating the building system.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/extblkdev/CMakeLists.txt