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")