Skip to content

Commit

Permalink
Merge pull request #12385 from dlan17/master
Browse files Browse the repository at this point in the history
cmake: explictly call find_package(PythonInterp) first to fix build err

Reviewed-by: Ali Maredia <amaredia@redhat.com>
  • Loading branch information
alimaredia committed Jan 3, 2017
2 parents 601aa9d + 4adb3c1 commit 209c0a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 209c0a6

Please sign in to comment.