From 964eb6536a811fc81a4287a1fc98e98ea9c38ae7 Mon Sep 17 00:00:00 2001 From: Baiju Meswani Date: Fri, 21 Jun 2024 09:52:28 -0700 Subject: [PATCH] Cherry-pick PR for rel-0.30 (#633) --- cmake/package.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/package.cmake b/cmake/package.cmake index f9ca2281c..49b6e69a1 100644 --- a/cmake/package.cmake +++ b/cmake/package.cmake @@ -6,10 +6,11 @@ install(TARGETS onnxruntime-genai LIBRARY DESTINATION lib RUNTIME DESTINATION lib + ARCHIVE DESTINATION lib PUBLIC_HEADER DESTINATION include ) if (WIN32) - install(FILES $ DESTINATION lib CONFIGURATIONS RelWithDebInfo) + install(FILES $ DESTINATION lib CONFIGURATIONS RelWithDebInfo Debug) endif() set(CPACK_PACKAGE_VENDOR "Microsoft") set(CPACK_PACKAGE_NAME "onnxruntime-genai")