From 3e0efaaa1677eb5f30394b0c65b231e6c274cdd8 Mon Sep 17 00:00:00 2001 From: thewh1teagle <61390950+thewh1teagle@users.noreply.github.com> Date: Sun, 21 Jul 2024 01:43:16 +0300 Subject: [PATCH] fix: include dll from directml package --- cmake/onnxruntime-win-x64-directml.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/onnxruntime-win-x64-directml.cmake b/cmake/onnxruntime-win-x64-directml.cmake index 235571522..884a244d3 100644 --- a/cmake/onnxruntime-win-x64-directml.cmake +++ b/cmake/onnxruntime-win-x64-directml.cmake @@ -60,7 +60,7 @@ message(STATUS "onnxruntime is downloaded to ${onnxruntime_SOURCE_DIR}") # for static libraries, we use onnxruntime_lib_files directly below include_directories(${onnxruntime_SOURCE_DIR}/build/native/include) -file(GLOB onnxruntime_lib_files "${onnxruntime_SOURCE_DIR}/runtimes/win-x64/native/*.lib") +file(GLOB onnxruntime_lib_files "${onnxruntime_SOURCE_DIR}/runtimes/win-x64/native/*") set(onnxruntime_lib_files ${onnxruntime_lib_files} PARENT_SCOPE)