mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-11 00:07:51 +03:00
Signed-off-by: Pavel Sobolev <contact@paveloom.dev> Part-of: https://github.com/gentoo/gentoo/pull/44926 Closes: https://github.com/gentoo/gentoo/pull/44926 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
17 lines
675 B
Diff
17 lines
675 B
Diff
From: Pavel Sobolev <contact@paveloom.dev>
|
|
Subject: [PATCH] Don't hide symbols in object files.
|
|
|
|
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
|
|
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -443,7 +443,6 @@ add_library(onnx_object OBJECT ${ONNX_SRCS})
|
|
add_dependencies(onnx_object onnx_proto_object)
|
|
target_include_directories(onnx_object PUBLIC
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>)
|
|
-set_target_properties(onnx_object PROPERTIES CXX_VISIBILITY_PRESET hidden)
|
|
set_target_properties(onnx_object PROPERTIES VISIBILITY_INLINES_HIDDEN ON)
|
|
target_include_directories(onnx_object PUBLIC $<BUILD_INTERFACE:${ONNX_ROOT}>)
|
|
add_onnx_global_defines(onnx_object)
|
|
|