pimoroni-pico/drivers/vl53l1x/vl53l1x.cmake

11 wiersze
285 B
CMake
Czysty Zwykły widok Historia

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
target_link_libraries(vl53l1x INTERFACE pico_stdlib hardware_i2c)