mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 17:31:13 +03:00
cmake: add check for tinyb and set as dependency for 2jciebu01-ble
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
@ -1,5 +1,10 @@
|
||||
set (libname "2jciebu01-ble")
|
||||
set (libdescription "Omron BLE Environment Sensor")
|
||||
set (module_src "2jciebu01_ble.cxx")
|
||||
set (module_hpp "2jciebu01_ble.hpp")
|
||||
upm_module_init(2jciebu01-usb)
|
||||
if (TINYB_FOUND)
|
||||
set (libname "2jciebu01-ble")
|
||||
set (libdescription "Omron BLE Environment Sensor")
|
||||
set (module_src "2jciebu01_ble.cxx")
|
||||
set (module_hpp "2jciebu01_ble.hpp")
|
||||
|
||||
set (reqlibname "libtinyb")
|
||||
upm_module_init(2jciebu01-usb ${TINYB_LIBRARIES})
|
||||
target_include_directories(${libname} PUBLIC ${TINYB_INCLUDE_DIRS})
|
||||
endif()
|
Reference in New Issue
Block a user