1 set(CEPH_DETECT_INIT_VIRTUALENV ${CEPH_BUILD_VIRTUALENV}/ceph-detect-init-virtualenv)
3 add_custom_target(ceph-detect-init
5 ${CMAKE_SOURCE_DIR}/src/tools/setup-virtualenv.sh ${CEPH_DETECT_INIT_VIRTUALENV} &&
6 ${CEPH_DETECT_INIT_VIRTUALENV}/bin/pip install --no-index --use-wheel --find-links=file:${CMAKE_SOURCE_DIR}/src/ceph-detect-init/wheelhouse -e .
7 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src/ceph-detect-init
8 COMMENT "ceph-detect-init is being created")
9 add_dependencies(tests ceph-detect-init)
12 distutils_install_module(ceph_detect_init)