2021-02-22 21:46:48 +00:00
|
|
|
add_library(vl53l1x INTERFACE)
|
|
|
|
|
|
|
|
target_sources(vl53l1x INTERFACE
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/vl53l1x.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(vl53l1x INTERFACE ${CMAKE_CURRENT_LIST_DIR})
|
|
|
|
|
|
|
|
# Pull in pico libraries that we need
|
2021-05-17 11:08:23 +01:00
|
|
|
target_link_libraries(vl53l1x INTERFACE pico_stdlib hardware_i2c pimoroni_i2c)
|