pimoroni-pico/libraries/pico_display_2/pico_display_2.cmake

10 lines
306 B
CMake

add_library(pico_display_2 INTERFACE)
target_sources(pico_display_2 INTERFACE
${CMAKE_CURRENT_LIST_DIR}/pico_display_2.cpp
)
target_include_directories(pico_display_2 INTERFACE ${CMAKE_CURRENT_LIST_DIR})
# Pull in pico libraries that we need
target_link_libraries(pico_display_2 INTERFACE pico_stdlib)