mirror of
https://github.com/ceph/ceph
synced 2025-01-29 14:34:40 +00:00
Merge pull request #12385 from dlan17/master
cmake: explictly call find_package(PythonInterp) first to fix build err Reviewed-by: Ali Maredia <amaredia@redhat.com>
This commit is contained in:
commit
209c0a6cbe
@ -352,6 +352,7 @@ option(WITH_CEPHFS "CephFS is enabled" ON)
|
||||
option(WITH_MGR "ceph-mgr is enabled" ON)
|
||||
if(WITH_MGR)
|
||||
set(Python_ADDITIONAL_VERSIONS 2.7)
|
||||
find_package(PythonInterp 2.7 REQUIRED)
|
||||
find_package(PythonLibs 2.7 REQUIRED)
|
||||
# Boost dependency check deferred to Boost section
|
||||
endif(WITH_MGR)
|
||||
|
Loading…
Reference in New Issue
Block a user