void-packages/srcpkgs/freecad/patches/001-python3.patch

12 lines
303 B
Diff

--- CMakeLists.txt
+++ CMakeLists.txt
@@ -445,7 +445,7 @@
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677598
# Acceptable versions of Python
-set(Python_ADDITIONAL_VERSIONS "2.7")
+set(Python_ADDITIONAL_VERSIONS "2.7 3.6")
# For building on OS X
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")