diff --git a/cmake_files/LookUpONNXRT.cmake b/cmake_files/LookUpONNXRT.cmake index de4d3a3d7..f01092970 100644 --- a/cmake_files/LookUpONNXRT.cmake +++ b/cmake_files/LookUpONNXRT.cmake @@ -23,7 +23,7 @@ if(NOT ${onnxruntime_FOUND}) FetchContent_Declare(onnxruntime URL ${ORT_URL} URL_HASH SHA256=b072f989d6315ac0e22dcb4771b083c5156d974a3496ac3504c77f4062eb248e - DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/dependencies) + DOWNLOAD_DIR ${CMAKE_BINARY_DIR}/dependencies) FetchContent_MakeAvailable(onnxruntime) message(STATUS "Downloaded ONNXrt to ${onnxruntime_SOURCE_DIR}") set(onnxruntime_INCLUDE_DIR "${onnxruntime_SOURCE_DIR}/include")