summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorWillem Jan Withagen <wjw@digiware.nl>2018-06-09 13:43:27 +0200
committerWillem Jan Withagen <wjw@digiware.nl>2018-06-10 16:21:41 +0200
commit0c63f422196994ae8c5f23417b811f47bdba9792 (patch)
treec3ccda4801d98af90ef021f01349b30fe9d7a820 /cmake
parentMerge pull request #22487 from tchaikov/wip-24452 (diff)
downloadceph-0c63f422196994ae8c5f23417b811f47bdba9792.tar.xz
ceph-0c63f422196994ae8c5f23417b811f47bdba9792.zip
cmake: cmake: oath lives in liboath
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindOATH.cmake5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmake/modules/FindOATH.cmake b/cmake/modules/FindOATH.cmake
index 3ffca40f203..d9821fe3f66 100644
--- a/cmake/modules/FindOATH.cmake
+++ b/cmake/modules/FindOATH.cmake
@@ -5,11 +5,10 @@
# OATH_INCLUDE_DIRS
# OATH_LIBRARIES
find_path(OATH_INCLUDE_DIR
- oath.h
+ liboath/oath.h
PATHS
/usr/include
- /usr/local/include
- /usr/include/liboath)
+ /usr/local/include)
find_library(OATH_LIBRARY NAMES oath liboath PATHS
/usr/local/lib
/usr/lib)