We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 992dd36 commit e80f4ceCopy full SHA for e80f4ce
CMakeLists.txt
@@ -417,7 +417,7 @@ add_onnx_global_defines(onnx_proto)
417
418
add_library(onnx ${ONNX_SRCS} ${ONNX_PROTO_SRCS})
419
add_dependencies(onnx onnx_proto)
420
-set_target_properties(onnx PROPERTIES CXX_VISIBILITY_PRESET hidden)
+set_source_files_properties(${ONNX_SRCS} PROPERTIES CXX_VISIBILITY_PRESET hidden)
421
add_onnx_global_defines(onnx)
422
423
if(ONNX_BUILD_PYTHON)
0 commit comments