From: Kotresh HR Date: Thu, 19 Dec 2019 09:08:24 +0000 (+0530) Subject: cmake/Boost: Fix python3 version X-Git-Tag: v15.1.0~435^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=886b18a9a2947340ca8e25fb945089918228b7bf;p=ceph-ci.git cmake/Boost: Fix python3 version Signed-off-by: Kotresh HR --- diff --git a/cmake/modules/BuildBoost.cmake b/cmake/modules/BuildBoost.cmake index d1c0eba17d8..dc0081f7526 100644 --- a/cmake/modules/BuildBoost.cmake +++ b/cmake/modules/BuildBoost.cmake @@ -213,7 +213,7 @@ macro(build_boost version) endif() add_dependencies(Boost::${c} Boost) if(c MATCHES "^python") - set(c "python${Python_VERSION_MAJOR}${Python_VERSION_MINOR}") + set(c "python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR}") endif() if(Boost_USE_STATIC_LIBS) set(Boost_${upper_c}_LIBRARY