From cb448e7cfe81fda8164200c77d7a8cc9835cf9fb Mon Sep 17 00:00:00 2001 From: daquexian Date: Wed, 22 May 2019 16:52:41 +0800 Subject: [PATCH] Fix bug of cmake --- tools/onnx2daq/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/onnx2daq/CMakeLists.txt b/tools/onnx2daq/CMakeLists.txt index 37274d5..6e105c5 100644 --- a/tools/onnx2daq/CMakeLists.txt +++ b/tools/onnx2daq/CMakeLists.txt @@ -31,7 +31,7 @@ if (${DNN_SYSTEM_PROTOBUF}) endif() -if (NOT ${ONNX2DAQ_ONLY_LIB}) +if (NOT ONNX2DAQ_ONLY_LIB) add_executable(onnx2daq-bin ${CMAKE_CURRENT_SOURCE_DIR}/onnx2daq.cpp) target_link_libraries(onnx2daq-bin