gentoo-ebuilds/sci-ml/onnx/files/onnx-1.18.0-don-t-hide-symbols-in-object-files.patch
Alfredo Tupone 66a50d0bc5
sci-ml/onnx: export c++ symbols, fix for caffe2 build
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
2025-12-08 21:53:27 +01:00

10 lines
293 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -520,7 +520,6 @@
else()
add_library(onnx ${ONNX_SRCS})
endif()
-set_target_properties(onnx PROPERTIES CXX_VISIBILITY_PRESET hidden)
set_target_properties(onnx PROPERTIES VISIBILITY_INLINES_HIDDEN ON)
target_include_directories(onnx PUBLIC