Skip to content

Commit

Permalink
Added small cmake fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim Pashchenkov committed Nov 19, 2020
1 parent b866d0d commit 34c4e45
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 34c4e45

Please sign in to comment.