some warnings disabled

pull/265/head
Anatoly Baksheev 10 years ago
parent 10c3a1378a
commit eb958463c9
  1. 2
      modules/dnn/CMakeLists.txt

@ -14,6 +14,8 @@ else()
message(FATAL_ERROR "Could not find PROTOBUF Compiler") message(FATAL_ERROR "Could not find PROTOBUF Compiler")
endif() endif()
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wno-shadow -Wno-parentheses)
file(GLOB PROTO_FILES src/*.proto) file(GLOB PROTO_FILES src/*.proto)
PROTOBUF_GENERATE_CPP(PROTO_HDRS PROTO_SRCS ${PROTO_FILES}) PROTOBUF_GENERATE_CPP(PROTO_HDRS PROTO_SRCS ${PROTO_FILES})

Loading…
Cancel
Save