summaryrefslogtreecommitdiffstats
path: root/src/tools/cephfs/top/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/cephfs/top/CMakeLists.txt')
-rw-r--r--src/tools/cephfs/top/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tools/cephfs/top/CMakeLists.txt b/src/tools/cephfs/top/CMakeLists.txt
new file mode 100644
index 000000000..8f9df0187
--- /dev/null
+++ b/src/tools/cephfs/top/CMakeLists.txt
@@ -0,0 +1,11 @@
+include(Distutils)
+distutils_install_module(cephfs-top)
+
+if(WITH_TESTS)
+ include(AddCephTest)
+ add_tox_test(cephfs-top)
+endif()
+
+set(MINIMUM_COMPATIBLE_VERSION 3.6.0)
+find_package(Python3 ${MINIMUM_COMPATIBLE_VERSION} REQUIRED
+ COMPONENTS Interpreter)