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 <noel.eck@intel.com>
This commit is contained in:
Noel Eck 2016-08-31 14:16:56 -07:00
parent f1bcd7bfb4
commit 70368ecb7e

View File

@ -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)