mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
24 lines
811 B
Diff
24 lines
811 B
Diff
--- a/python/CMakeLists.txt
|
|
+++ b/python/CMakeLists.txt
|
|
@@ -60,6 +60,11 @@
|
|
set(Boost_PYTHON39-MT_LIBRARY ${Boost_PYTHON39_LIBRARY})
|
|
endif()
|
|
|
|
+if (NOT DEFINED ${Boost_PYTHON310-MT_LIBRARY})
|
|
+ set(Boost_PYTHON310-MT_LIBRARY ${Boost_PYTHON310_LIBRARY})
|
|
+endif()
|
|
+
|
|
+
|
|
# Try all possible boost-python variable namings
|
|
set(PYTHON_WRAPPER_LIBS ${Boost_PYTHON_LIBRARY}
|
|
${Boost_PYTHON3_LIBRARY}
|
|
@@ -69,7 +74,8 @@
|
|
${Boost_PYTHON35_LIBRARY}
|
|
${Boost_PYTHON36_LIBRARY}
|
|
${Boost_PYTHON38_LIBRARY}
|
|
- ${Boost_PYTHON39_LIBRARY})
|
|
+ ${Boost_PYTHON39_LIBRARY}
|
|
+ ${Boost_PYTHON310_LIBRARY})
|
|
|
|
if (APPLE)
|
|
set(PYTHON_WRAPPER_LIBS ${PYTHON_WRAPPER_LIBS}
|