File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ if(BUILD_PROTOBUF)
3232else ()
3333 unset (Protobuf_VERSION CACHE )
3434 hunter_add_package(Protobuf)
35- find_package (Protobuf QUIET )
35+ find_package (Protobuf CONFIG REQUIRED )
3636
3737 # Backwards compatibility
3838 # Define camel case versions of input variables
@@ -71,7 +71,7 @@ endif()
7171if (HAVE_PROTOBUF AND PROTOBUF_UPDATE_FILES AND NOT COMMAND PROTOBUF_GENERATE_CPP)
7272 # message(FATAL_ERROR "Can't configure protobuf dependency (BUILD_PROTOBUF=${BUILD_PROTOBUF} PROTOBUF_UPDATE_FILES=${PROTOBUF_UPDATE_FILES})")
7373 hunter_add_package(Protobuf)
74- find_package (Protobuf QUIET )
74+ find_package (Protobuf CONFIG REQUIRED )
7575 if (NOT COMMAND PROTOBUF_GENERATE_CPP)
7676 message (FATAL_ERROR "PROTOBUF_GENERATE_CPP command is not available" )
7777 endif ()
You can’t perform that action at this time.
0 commit comments