mirror of
https://github.com/netdata/netdata.git
synced 2025-04-28 14:42:31 +00:00
Correctly mark protobuf as required in find_package. (#17021)
At the point at which we call find_package() to locate protobuf, we know that we do, in fact, need it for this build. Given this, we should be marking it as required in the find_package() call so that if it’s not found the configuration phase fails instead of things breaking in potentially strange ways later on during the build itself.
This commit is contained in:
parent
819025e9a7
commit
a0d1e7ac69
1 changed files with 1 additions and 1 deletions
|
@ -555,7 +555,7 @@ if(ENABLE_ACLK OR ENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE)
|
|||
set(Protobuf_USE_STATIC_LIBS On)
|
||||
endif()
|
||||
|
||||
find_package(Protobuf)
|
||||
find_package(Protobuf REQUIRED)
|
||||
endif()
|
||||
|
||||
set(ENABLE_PROTOBUF True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue