diff options
author | Kefu Chai <kchai@redhat.com> | 2018-06-06 04:27:38 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2018-06-06 16:49:35 +0200 |
commit | ca78ab2254d10ba9da7b0d760ed2b1cd6577c0bb (patch) | |
tree | 9b9e2b6a2851ab6304ee7ad60c34487df2317688 /install-deps.sh | |
parent | Merge pull request #21644 from p-na/grafana-proxy (diff) | |
download | ceph-ca78ab2254d10ba9da7b0d760ed2b1cd6577c0bb.tar.xz ceph-ca78ab2254d10ba9da7b0d760ed2b1cd6577c0bb.zip |
cmake: find liboath using the correct name
we should reference liboath by the $name in Find${name}.cmake, also the
$name should be consistent when calling find_package_handle_standard_args().
in this change
* rename Findliboath.cmake to FindOATH.cmake to be consistent with other
find_package() moduless.
* use "OATH" in find_package_handle_standard_args() instead of "oath"
* set the interface properties for OATH::OATH, so the target linking
against it can reference its header directories and libraries automatically.
* remove the stale comment for find_package_handle_standard_args()
* set OATH_INCLUDE_DIRS and OATH_LIBRARIES to follow the convention of
find_package(), even they are not used directly in this project.
Reported-by: Erwan Velu <erwan@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'install-deps.sh')
0 files changed, 0 insertions, 0 deletions