]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | set(CEPH_DETECT_INIT_VIRTUALENV ${CEPH_BUILD_VIRTUALENV}/ceph-detect-init-virtualenv) |
2 | ||
3 | add_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") | |
9 | add_dependencies(tests ceph-detect-init) | |
10 | ||
11 | include(Distutils) | |
12 | distutils_install_module(ceph_detect_init) |