Requiring python 2.5
This commit is contained in:
parent
dc54f2bdb9
commit
b6401ca179
@ -32,7 +32,7 @@ cmake_minimum_required( VERSION 2.8 )
|
|||||||
project( BoostParts )
|
project( BoostParts )
|
||||||
|
|
||||||
set( Python_ADDITIONAL_VERSIONS 2.7 2.6 2.5 )
|
set( Python_ADDITIONAL_VERSIONS 2.7 2.6 2.5 )
|
||||||
find_package( PythonLibs 2 REQUIRED )
|
find_package( PythonLibs 2.5 REQUIRED )
|
||||||
|
|
||||||
if ( NOT PYTHONLIBS_VERSION_STRING VERSION_LESS "3.0.0" )
|
if ( NOT PYTHONLIBS_VERSION_STRING VERSION_LESS "3.0.0" )
|
||||||
message( FATAL_ERROR
|
message( FATAL_ERROR
|
||||||
|
@ -20,7 +20,7 @@ cmake_minimum_required( VERSION 2.8 )
|
|||||||
project( ycm_core )
|
project( ycm_core )
|
||||||
|
|
||||||
set( Python_ADDITIONAL_VERSIONS 2.7 2.6 2.5 )
|
set( Python_ADDITIONAL_VERSIONS 2.7 2.6 2.5 )
|
||||||
find_package( PythonLibs 2 REQUIRED )
|
find_package( PythonLibs 2.5 REQUIRED )
|
||||||
|
|
||||||
if ( NOT PYTHONLIBS_VERSION_STRING VERSION_LESS "3.0.0" )
|
if ( NOT PYTHONLIBS_VERSION_STRING VERSION_LESS "3.0.0" )
|
||||||
message( FATAL_ERROR
|
message( FATAL_ERROR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user