message: use protobuf and libwesockets dependencies only if WITH_NETWORK is true
diff: get_filename_component(aditof_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
  set(aditof_INCLUDE_DIRS "@CONFIG_INCLUDE_DIRS@")
  +set(WITH_NETWORK "@WITH_NETWORK@")
  if (NOT glog_FOUND)
  find_package(glog 0.3.5 REQUIRED)
  endif()
  +if (WITH_NETWORK)
  if (NOT Protobuf_FOUND)
  find_package(Protobuf 3.9.0 REQUIRED)
  endif()
  if (NOT Libwebsockets_FOUND)
  find_package(Libwebsockets REQUIRED)
  endif()
  +endif()
  if (NOT TARGET aditof::aditof)
  include("${aditof_CMAKE_DIR}/aditof-targets.cmake")
  