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