From 886b18a9a2947340ca8e25fb945089918228b7bf Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Thu, 19 Dec 2019 14:38:24 +0530 Subject: [PATCH] cmake/Boost: Fix python3 version Signed-off-by: Kotresh HR --- cmake/modules/BuildBoost.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/BuildBoost.cmake b/cmake/modules/BuildBoost.cmake index d1c0eba17d82..dc0081f7526d 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 -- 2.47.3