]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake/Boost: Fix python3 version 32344/head
authorKotresh HR <khiremat@redhat.com>
Thu, 19 Dec 2019 09:08:24 +0000 (14:38 +0530)
committerKotresh HR <khiremat@redhat.com>
Thu, 19 Dec 2019 09:10:11 +0000 (14:40 +0530)
Signed-off-by: Kotresh HR <khiremat@redhat.com>
cmake/modules/BuildBoost.cmake

index d1c0eba17d82bd2e19efffcd032a6bee90126f11..dc0081f7526da9a5cc62172a268c034c64c23605 100644 (file)
@@ -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