diff --git a/cpp/BoostParts/CMakeLists.txt b/cpp/BoostParts/CMakeLists.txt index 1d7a5bfc..a22ec09d 100644 --- a/cpp/BoostParts/CMakeLists.txt +++ b/cpp/BoostParts/CMakeLists.txt @@ -32,7 +32,7 @@ cmake_minimum_required( VERSION 2.8 ) project( BoostParts ) 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" ) message( FATAL_ERROR diff --git a/cpp/ycm/CMakeLists.txt b/cpp/ycm/CMakeLists.txt index a55ffaf1..bb1301df 100644 --- a/cpp/ycm/CMakeLists.txt +++ b/cpp/ycm/CMakeLists.txt @@ -20,7 +20,7 @@ cmake_minimum_required( VERSION 2.8 ) project( ycm_core ) 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" ) message( FATAL_ERROR