diff --git a/lib/formats/CMakeLists.txt b/lib/formats/CMakeLists.txt index 52d918698..3b5090166 100644 --- a/lib/formats/CMakeLists.txt +++ b/lib/formats/CMakeLists.txt @@ -51,7 +51,7 @@ if(PROTOBUFC_FOUND) ) list(APPEND LIBRARIES - ${PROTOBUFC_LIBRARIES} + PkgConfig::PROTOBUFC ) set_source_files_properties(villas.pb-c.h villas.pb-c.c