From 70368ecb7e26b70045f134388e0bedcc0aade583 Mon Sep 17 00:00:00 2001 From: Noel Eck Date: Wed, 31 Aug 2016 14:16:56 -0700 Subject: [PATCH] crequires: Add utilites-c target for all c sensors Switch from upmc-utilities to target name (utilities-c). Fixes linking problem with C libraries. Signed-off-by: Noel Eck --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fe56ace4..f8e16bbd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -272,7 +272,7 @@ function (UPM_MIXED_MODULE_INIT) # add upmc-utilities as a dependancy to all C libs (but NOT to the # utilities lib itself) if (NOT ${libname} MATCHES "utilities-c") - target_link_libraries (${libname} upmc-utilities) + target_link_libraries (${libname} utilities-c) endif() endif (UPM_MIXED_MODULE_INIT_C_SRC)