Skip to content

Commit

Permalink
Merge pull request opencv#18868 from mpashchenkov:mp/onnx-small-cmake…
Browse files Browse the repository at this point in the history
…-fix
  • Loading branch information
alalek committed Nov 20, 2020
2 parents c4c9cdd + 34c4e45 commit 12fd382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindONNX.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set(ONNXRT_ROOT_DIR "" CACHE PATH "ONNX Runtime install directory")

# For now, check the old name ORT_INSTALL_DIR
if(ORT_INSTALL_DIR AND NOT ONNXRT_ROOT_DIR)
set(ONNXRT_ROOT_DIR ORT_INSTALL_DIR)
set(ONNXRT_ROOT_DIR ${ORT_INSTALL_DIR})
endif()

if(ONNXRT_ROOT_DIR)
Expand Down

0 comments on commit 12fd382

Please sign in to comment.