]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: find motr libraries and header before using them 47534/head
authorKefu Chai <tchaikov@gmail.com>
Wed, 10 Aug 2022 12:10:42 +0000 (20:10 +0800)
committerKefu Chai <tchaikov@gmail.com>
Wed, 10 Aug 2022 13:15:12 +0000 (21:15 +0800)
commitf5e9e1a4f5680476d265850262c908dda051db92
tree735b74226fbdb748dfcfb29dcdfe58615756f9b5
parent53b0023859facef0da0ff5628fd6cdd590eaea03
cmake: find motr libraries and header before using them

cmake should fail when generating the building system, if the necessary
development libraries or the header files are missing.

in this change, Findmotr.cmake is added to detect the motr library
and header so that we can use it to find the motr package before using
it.

See-also: https://tracker.ceph.com/issues/57079
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
cmake/modules/Findmotr.cmake [new file with mode: 0644]
src/rgw/CMakeLists.txt