]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: update build<lib>.cmake for supporting ninja
authorDeepika Upadhyay <dupadhya@redhat.com>
Tue, 6 Jul 2021 10:18:34 +0000 (10:18 +0000)
committerDeepika Upadhyay <dupadhya@redhat.com>
Tue, 6 Jul 2021 14:22:28 +0000 (14:22 +0000)
commit4e0b4da1a28a0c60ed3c1ea6ae7bb2ea602c8910
treea3806eeb96f444e7ee2cd2939a6e5abb9f4ce7a0
parentbd0ca9dcb85f317555d7306c2bf7beab2cb54406
cmake: update build<lib>.cmake for supporting ninja

* affects cmake builds for: yaml-cpp, thrift, jaeger, opentracing external
projects

changes done:
* artificat BUILD_BYPRODUCT which tells ninja which library will be generated
after the build(needed for dependent build libs)
* use cmake_command if `make` not found so that we use default generator, cmake
will identify and use ninja directly in this case.
* minor reorder of boost path in jaeger build external projet

fixes: https://tracker.ceph.com/issues/51029

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
cmake/modules/BuildJaeger.cmake
cmake/modules/BuildOpenTracing.cmake
cmake/modules/Buildthrift.cmake
cmake/modules/Buildyaml-cpp.cmake