Skip to content

Commit 54011e2

Browse files
committed
Move all options together
1 parent a1f4e8b commit 54011e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ option(DNN_BUILD_BIN "Build binaries" ON)
55
option(DNN_BUILD_JNI "Build Java Wrapper" OFF)
66
option(DNN_READ_ONNX "Read ONNX model directly instead of converting to .daq" OFF)
77
option(DNN_SYSTEM_PROTOBUF "Use system protobuf when building onnx2daq" OFF)
8+
option(DNN_BUILD_PYTHON "Build Python wrapper for onnx2daq" ON)
89

910
include(cmake/system.cmake)
1011
include(cmake/glog.cmake)
@@ -27,7 +28,6 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Android")
2728
add_subdirectory(dnnlibrary)
2829
add_subdirectory(binaries)
2930
else()
30-
option(DNN_BUILD_PYTHON "Build Python wrapper for onnx2daq" ON)
3131
set (CMAKE_CXX_STANDARD 11)
3232
include(cmake/onnx.cmake)
3333
configure_onnx()

0 commit comments

Comments
 (0)