From: Dan Mick Date: Tue, 5 Jun 2018 18:05:33 +0000 (-0700) Subject: CMakeLists.txt: add back CEPH_BUILD_VIRTUALENV X-Git-Tag: v14.0.1~1088^2~12 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=db00876297b734b621d1289d48d3e754a5167fc3;p=ceph.git CMakeLists.txt: add back CEPH_BUILD_VIRTUALENV Still used for pybind/mgr/dashboard Signed-off-by: Dan Mick --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c54df0f9f75..3a3bc3b15fe 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -794,6 +794,12 @@ target_link_libraries(librados-config librados global ${BLKID_LIBRARIES} ${RDMA_ install(TARGETS librados-config DESTINATION bin) +# virtualenv base directory for ceph-disk and ceph-detect-init +set(CEPH_BUILD_VIRTUALENV $ENV{TMPDIR}) +if(NOT CEPH_BUILD_VIRTUALENV) + set(CEPH_BUILD_VIRTUALENV /tmp) +endif() + add_subdirectory(pybind) add_subdirectory(ceph-volume)