]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake/modules/BuildFIO: specify the full path to alloc libraries
authorKefu Chai <tchaikov@gmail.com>
Mon, 2 May 2022 03:42:17 +0000 (11:42 +0800)
committerKefu Chai <tchaikov@gmail.com>
Mon, 2 May 2022 04:40:55 +0000 (12:40 +0800)
commit5e3d92243a103903d30875f7064bf17c8a8cf588
treeef70cddb4861a2915cae898b04d8a10cf57c7e6f
parent677e134606bf0a4ca7cf3b2a9b14f78046269184
cmake/modules/BuildFIO: specify the full path to alloc libraries

before this change, we assume that "ALLOCATOR" is the library name
which can be found by linker with "ld -l <namespec>". but ideally,
cmake can find a library in a more sophiscated way used by
its "find_library()" implementation. so, in this change, instead of
relying on the default paths looked up by "ld", use the path
found by cmake.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
cmake/modules/BuildFIO.cmake