]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: check for MAJOR.MINOR version of python3
authorBoris Ranto <branto@redhat.com>
Thu, 4 Apr 2019 20:00:55 +0000 (22:00 +0200)
committerKefu Chai <kchai@redhat.com>
Wed, 10 Apr 2019 09:57:08 +0000 (17:57 +0800)
commit73d3ae8b4d9e0efd2735247e069bd4e7e10829c9
tree4f9172998ee14adab146794d9931ccfc8f7ab19b
parent601126c19eaa5004f01d30f93ca37cf354c0ce8a
cmake: check for MAJOR.MINOR version of python3

We can only check for MAJOR.MINOR version of python3 since
FindPython3Libs does not support checking for MAJOR.MINOR.PATCH version
of python3. We also need to make sure we use the PYTHON3 versions of
these variables.

This should fix a regression introduced by c961e00.

Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit 8b3f0d5bcce8a5c8ddff0a362fbccb05d18335f6)
src/CMakeLists.txt