void-packages/srcpkgs/shiboken/patches/python3.6.patch

12 lines
384 B
Diff

--- cmake/Modules/FindPython3Libs.cmake.orig
+++ cmake/Modules/FindPython3Libs.cmake
@@ -27,7 +27,7 @@
# Search for the python framework on Apple.
# CMAKE_FIND_FRAMEWORKS(Python)
-FOREACH(_CURRENT_VERSION 3.4 3.3 3.2 3.1 3.0)
+FOREACH(_CURRENT_VERSION 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
IF(_CURRENT_VERSION GREATER 3.1)
SET(_32FLAGS "m" "u" "mu" "dm" "du" "dmu" "")
ELSE()