Use find_package(Protobuf CONFIG) for macOS too

This commit is contained in:
Jonas Kvinge
2023-07-11 13:42:15 +02:00
parent 0c1f4750ea
commit 7616c06ff9
3 changed files with 3 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ if(NOT protobuf_PROTOC_EXE)
endif()
if(NOT Protobuf_LIBRARIES)
set(Protobuf_LIBRARIES protobuf::libprotobuf protobuf::libprotoc)
set(Protobuf_LIBRARIES protobuf::libprotobuf)
endif()
set(SOURCES tagreaderbase.cpp tagreadermessages.proto)