1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-23 13:40:34 -04:00
ports/misc/py-onnx/files/patch-CMakeLists.txt
Yuri Victorovich 51acdbc148 misc/py-onnx: Update 1.10.2 -> 1.11.0
Reported by:	portscout
2022-02-27 20:08:08 -08:00

11 lines
625 B
Text

--- CMakeLists.txt.orig 2022-02-07 19:42:24 UTC
+++ CMakeLists.txt
@@ -18,7 +18,7 @@ project(onnx C CXX)
option(ONNX_BUILD_BENCHMARKS "Build ONNX micro-benchmarks" OFF)
option(ONNX_USE_PROTOBUF_SHARED_LIBS "Build ONNX using protobuf shared library. Sets PROTOBUF_USE_DLLS CMAKE Flag and Protobuf_USE_STATIC_LIBS. " OFF)
-option(BUILD_ONNX_PYTHON "Build Python binaries" OFF)
+option(BUILD_ONNX_PYTHON "Build Python binaries" ON)
option(ONNX_GEN_PB_TYPE_STUBS "Generate protobuf python type stubs" ON)
option(ONNX_WERROR "Build with Werror" OFF)
option(ONNX_COVERAGE "Build with coverage instrumentation" OFF)