We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c4d415 + dfb9832 commit d2dbc9dCopy full SHA for d2dbc9d
3rdparty/protobuf/CMakeLists.txt
@@ -140,6 +140,7 @@ append_if_exist(Protobuf_SRCS
140
${PROTOBUF_ROOT}/src/google/protobuf/wrappers.pb.cc
141
)
142
143
+include_directories(BEFORE "${PROTOBUF_ROOT}/src") # ensure using if own headers: https://github.com/opencv/opencv/issues/13328
144
add_library(libprotobuf STATIC ${Protobuf_SRCS})
145
target_include_directories(libprotobuf SYSTEM PUBLIC $<BUILD_INTERFACE:${PROTOBUF_ROOT}/src>)
146
set_target_properties(libprotobuf
0 commit comments