@@ -66,6 +66,8 @@ function (_get_dependency_targets target return_variable)
66
66
# reqlibname list (used in various items like pom files, .pc files, etc
67
67
elseif (${deplib} MATCHES mraa)
68
68
list (APPEND ${return_variable} mraa)
69
+ elseif (${deplib} MATCHES tinyb)
70
+ list (APPEND ${return_variable} tinyb)
69
71
endif (TARGET ${deplib} )
70
72
endforeach (deplib ${_dep_libs} )
71
73
# Uniquify
@@ -100,6 +102,8 @@ function (_gen_pkg_config_per_target LABEL)
100
102
list (APPEND reqlibname ${deplibname} )
101
103
elseif (${deplib} MATCHES mraa)
102
104
list (APPEND reqlibname mraa)
105
+ elseif (${deplib} MATCHES tinyb)
106
+ list (APPEND reqlibname tinyb)
103
107
endif (TARGET ${deplib} )
104
108
endforeach (deplib ${DEPLIBS} )
105
109
# Make sure no dups exist
@@ -855,6 +859,9 @@ function(upm_module_init)
855
859
target_link_libraries (${libname} ${MRAA_LIBRARY} )
856
860
# Always add a PUBLIC dependency to MRAA include dirs
857
861
target_include_directories (${libname} PUBLIC ${MRAA_INCLUDE_DIRS} )
862
+ elseif (${linkflag} MATCHES tinyb)
863
+ target_link_libraries (${libname} ${TINYB_LIBRARY} )
864
+ target_include_directories (${libname} PUBLIC ${TINYB_INCLUDE_DIRS} )
858
865
else ()
859
866
# Else, add the linkflag directly
860
867
target_link_libraries (${libname} ${linkflag} )
0 commit comments