Skip to content

Commit

Permalink
more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
20DM committed Sep 12, 2024
1 parent 9e0d624 commit 5c32818
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions cmake_files/LookUpONNXRT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,20 @@ if(NOT ${onnxruntime_FOUND})
#PREFIX "${CMAKE_BINARY_DIR}/external"
PREFIX ${onnxruntime_DIR}
#INSTALL_DIR ${EXTERNAL_ROOT}
# CMAKE_ARGS
# -DCMAKE_INSTALL_PREFIX=${onnxruntime_DIR}
# -DCMAKE_INSTALL_LIBDIR=${CMAKE_SHARED_LIBRARY_PREFIX}
# # Wrap download, configure and build steps in a script to log output
UPDATE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
# LOG_DOWNLOAD ON
# LOG_CONFIGURE ON
# LOG_BUILD ON
# LOG_INSTALL ON
LOG_DOWNLOAD ON
LOG_CONFIGURE ON
LOG_BUILD ON
LOG_INSTALL ON
)
set(onnxruntime_INCLUDE_DIR "${onnxruntime_DIR}/include")
set(onnxruntime_LIBRARY_DIR "${onnxruntime_DIR}/lib")
set(onnxruntime_LIBRARIES onnxruntime::onnxruntime)
message(STATUS "ORT-INCDIR=${onnxruntime_INCLUDE_DIR}")
message(STATUS "ORT-LIBDIR=${onnxruntime_LIBRARY_DIR}")
message(STATUS "ORT-LIB=${onnxruntime_LIBRARIES}")
set(onnxruntime_FOUND TRUE)
endif()

0 comments on commit 5c32818

Please sign in to comment.