Skip to content

Commit

Permalink
Update CMakeLists.txt typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gkrivor authored May 22, 2024
1 parent 04a57c6 commit d8647b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thirdparty/onnx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if(CMAKE_COMPILER_IS_GNUCXX AND LINUX AND CMAKE_CXX_COMPILER_VERSION VERSION_LES
file(WRITE onnx/onnx/common/file_utils.h "${CONTENT}")

file(READ onnx/onnx/defs/traditionalml/utils.h CONTENT)
string(REPLACE "const auto& [type, length]" "const std::pair<int, int>& type_lenght" CONTENT "${CONTENT}")
string(REPLACE "const auto& [type, length]" "const std::pair<int, int>& type_length" CONTENT "${CONTENT}")
string(REPLACE "type !=" "type_length.first !=" CONTENT "${CONTENT}")
string(REPLACE "length !=" "type_length.second !=" CONTENT "${CONTENT}")
file(WRITE onnx/onnx/defs/traditionalml/utils.h "${CONTENT}")
Expand Down

0 comments on commit d8647b5

Please sign in to comment.