mirror of
https://github.com/ceph/ceph
synced 2025-01-04 02:02:36 +00:00
cmake/Boost: Fix python3 version
Signed-off-by: Kotresh HR <khiremat@redhat.com>
This commit is contained in:
parent
dd84d07a01
commit
886b18a9a2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user