システムに2.6と2.7があるとなんでか2.6を使いたがるので修正。多分動くはず
- Using newest Python2.*
- --- a/CMakeLists.txt
- +++ b/CMakeLists.txt
- @@ -675,9 +675,9 @@
- find_package( SWIG 3.0 REQUIRED )
- include( ${SWIG_USE_FILE} )
- - # force a python version < 3.0
- - set( PythonInterp_FIND_VERSION 2.6 )
- - set( PythonLibs_FIND_VERSION 2.6 )
- + # force a python version 2.*
- + set( PythonInterp_FIND_VERSION 2 )
- + set( PythonLibs_FIND_VERSION 2 )
- find_package( PythonInterp )