Skip to content

Commit

Permalink
Update CMakeLists.txt (#2183)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangjiajun committed Aug 24, 2023
1 parent 771dcf4 commit b24dde4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,9 @@ endif()

if(ENABLE_PADDLE2ONNX)
add_definitions(-DENABLE_PADDLE2ONNX)
if(BUILD_ON_JETSON)
set(BUILD_PADDLE2ONNX ON)
endif()
if(BUILD_PADDLE2ONNX)
download_protobuf()
include(${PROJECT_SOURCE_DIR}/cmake/build_paddle2onnx.cmake)
Expand Down

0 comments on commit b24dde4

Please sign in to comment.