]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
explictly call find_package(PythonInterp) first to fix build err 12385/head
authorYixun Lan <dlan@gentoo.org>
Thu, 8 Dec 2016 07:25:14 +0000 (15:25 +0800)
committerYixun Lan <dlan@gentoo.org>
Thu, 8 Dec 2016 07:25:14 +0000 (15:25 +0800)
commit4adb3c13b9f8a81e1027651defd5d9cee6664c8d
treef597cc52a35fd463bbdeda4048f4d8555ce20b85
parent96cf8a1b2878d56c5e5d7cecbfd9e776871766b7
explictly call find_package(PythonInterp) first to fix build err

this is an un-modified message from dev-util/cmake-3.7.1
/usr/share/cmake/Modules/FindPythonLibs.cmake

call ``find_package(PythonInterp)`` first to
 get the currently active Python version by default with a consistent
version  of PYTHON_LIBRARIES.

Signed-off-by: Yixun Lan <dlan@gentoo.org>
---
the detail error message we've met here

Found PythonInterp: python (found suitable version "2.7.12", minimum required is "2")
CMake Error at /usr/share/cmake/Modules/FindPythonLibs.cmake:54 (get_filename_component):
  get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
  src/CMakeLists.txt:209 (find_package)
CMakeLists.txt