システムに2.6と2.7があるとなんでか2.6を使いたがるので修正。多分動くはず

Format
Diff
Post date
2018-06-05 00:19
Publication Period
Unlimited
  1. Using newest Python2.*
  2. --- a/CMakeLists.txt
  3. +++ b/CMakeLists.txt
  4. @@ -675,9 +675,9 @@
  5. find_package( SWIG 3.0 REQUIRED )
  6. include( ${SWIG_USE_FILE} )
  7. - # force a python version < 3.0
  8. - set( PythonInterp_FIND_VERSION 2.6 )
  9. - set( PythonLibs_FIND_VERSION 2.6 )
  10. + # force a python version 2.*
  11. + set( PythonInterp_FIND_VERSION 2 )
  12. + set( PythonLibs_FIND_VERSION 2 )
  13. find_package( PythonInterp )
다운로드 Printable view

URL of this paste

Embed with JavaScript

Embed with iframe

Raw text