]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: replace Findlttng-ust.cmake with FindLTTngUST.cmake
authorKefu Chai <kchai@redhat.com>
Tue, 30 Aug 2016 05:33:24 +0000 (13:33 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 30 Aug 2016 07:51:51 +0000 (15:51 +0800)
commit2ed44f993f7b33f683d1cf7ef3592b13e25f7129
tree23893d3432f755d15b5576853bb19ee494044f84
parent8c76f71d185471770626a2c005478e1968f0bb1a
cmake: replace Findlttng-ust.cmake with FindLTTngUST.cmake

find_package(lttng-ust REQUIRED) fails to find the lttng library without
this change. because find_path(LTTNG_LIBRARY_DIR ...) does not search
in the default library paths. and the second mode of
FIND_PACKAGE_HANDLE_STANDARD_ARGS() does not stop the cmake with a fatal
message, even some of the required vars are missing. so use the
implemetantion from cmake upstream.

Signed-off-by: Kefu Chai <kchai@redhat.com>
CMakeLists.txt
cmake/modules/FindLTTngUST.cmake [new file with mode: 0644]
cmake/modules/Findlttng-ust.cmake [deleted file]
debian/copyright
src/tracing/CMakeLists.txt