]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: make py3 a nice-to-have 11015/head
authorKefu Chai <kchai@redhat.com>
Thu, 8 Sep 2016 08:47:59 +0000 (16:47 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 8 Sep 2016 13:49:45 +0000 (21:49 +0800)
commit7d7a98484664bcb725fdb8691e75fd1c35493bc3
tree4237b33a5aa3094ecedfa2d576e5af944d665757
parent3942ac4d278663356a963e7968132a4768ce7473
cmake: make py3 a nice-to-have

python3 is not a hard requirement to build ceph, so make it optional.
add an option named "WITH_PYTHON3" which accepts ON, OFF, or CHECK.

Fixes: http://tracker.ceph.com/issues/17103
Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph.spec.in
debian/rules
src/CMakeLists.txt
src/pybind/CMakeLists.txt