]> git.proxmox.com Git - ceph.git/blame - ceph/src/ceph-detect-init/CMakeLists.txt
update sources to v12.2.5
[ceph.git] / ceph / src / ceph-detect-init / CMakeLists.txt
CommitLineData
7c673cae
FG
1set(CEPH_DETECT_INIT_VIRTUALENV ${CEPH_BUILD_VIRTUALENV}/ceph-detect-init-virtualenv)
2
3add_custom_target(ceph-detect-init
4 COMMAND
5 ${CMAKE_SOURCE_DIR}/src/tools/setup-virtualenv.sh ${CEPH_DETECT_INIT_VIRTUALENV} &&
94b18763 6 ${CEPH_DETECT_INIT_VIRTUALENV}/bin/pip install --no-index --find-links=file:${CMAKE_SOURCE_DIR}/src/ceph-detect-init/wheelhouse -e .
7c673cae
FG
7 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src/ceph-detect-init
8 COMMENT "ceph-detect-init is being created")
9add_dependencies(tests ceph-detect-init)
10
11include(Distutils)
12distutils_install_module(ceph_detect_init)