Skip to content

Commit

Permalink
remove blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Hideousmon committed Oct 28, 2023
1 parent d80be49 commit 44668b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/pnnx/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,6 @@ set(pnnx_pass_ncnn_SRCS
pass_ncnn/torchvision_DeformConv2d.cpp
)


if(PROTOBUF_FOUND)
if(DEFINED PROTOBUF_VERSION AND PROTOBUF_VERSION VERSION_GREATER_EQUAL 3.22)
set(CMAKE_CXX_STANDARD 17)
Expand Down Expand Up @@ -599,6 +598,9 @@ if(PROTOBUF_FOUND)
target_link_libraries(pnnx2onnx PRIVATE protobuf::libprotobuf)
message(STATUS "Building with onnx-zero")
endif()
else()
message(STATUS "Building without onnx-zero")
endif()

set(pnnx_SRCS
main.cpp
Expand Down

0 comments on commit 44668b0

Please sign in to comment.