pimoroni-pico/libraries/pico_scroll/CMakeLists.txt

10 lines
304 B
CMake
Raw Normal View History

2021-01-16 16:38:58 +00:00
add_library(pico_scroll INTERFACE)
target_sources(pico_scroll INTERFACE
${CMAKE_CURRENT_LIST_DIR}/pico_scroll.cpp
)
target_include_directories(pico_scroll INTERFACE ${CMAKE_CURRENT_LIST_DIR})
# Pull in pico libraries that we need
target_link_libraries(pico_scroll INTERFACE pico_stdlib hardware_i2c)