summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKotresh HR <khiremat@redhat.com>2019-12-19 10:08:24 +0100
committerKotresh HR <khiremat@redhat.com>2019-12-19 10:10:11 +0100
commit886b18a9a2947340ca8e25fb945089918228b7bf (patch)
tree9c0d0fb9a00e63099d97c61584f009a07da43a43
parentMerge pull request #31525 from tchaikov/wip-no-py2-in-make-check (diff)
downloadceph-886b18a9a2947340ca8e25fb945089918228b7bf.tar.xz
ceph-886b18a9a2947340ca8e25fb945089918228b7bf.zip
cmake/Boost: Fix python3 version
Signed-off-by: Kotresh HR <khiremat@redhat.com>
-rw-r--r--cmake/modules/BuildBoost.cmake2
1 files changed, 1 insertions, 1 deletions
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