From a85a9ddaf5f83045ad770964be336ba5894dc5b2 Mon Sep 17 00:00:00 2001 From: Tiago Koji Castro Shibata Date: Wed, 26 May 2021 21:12:02 +0000 Subject: [PATCH] Merged PR 6091402: Fix inbox ORT debug info Fix inbox ORT debug info Related work items: #26519199 --- cmake/onnxruntime.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/onnxruntime.cmake b/cmake/onnxruntime.cmake index 8e3b9c2ec8..2aa05f92a4 100644 --- a/cmake/onnxruntime.cmake +++ b/cmake/onnxruntime.cmake @@ -178,6 +178,8 @@ if (WINDOWS_STORE) endif() if (winml_is_inbox) + # Apply linking flags required by inbox static analysis tools + target_link_options(onnxruntime PRIVATE ${os_component_link_flags_list}) # Link *_x64/*_arm64 DLLs for the ARM64X forwarder function(duplicate_shared_library target new_target) get_target_property(sources ${target} SOURCES)