From d64b650f58d63a8bc569b8d0170104acf2c622eb Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 4 Jul 2018 15:14:02 +0200 Subject: [PATCH] cmake: link against imported target for libprotobuf-c --- lib/formats/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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