mirror of
https://github.com/ravinrabbid/DonCon2040.git
synced 2024-11-20 11:47:07 +01:00
11 lines
320 B
CMake
11 lines
320 B
CMake
file(GLOB pico_ssd1306_SOURCES src/*.c)
|
|
|
|
add_library(pico_ssd1306 STATIC ${pico_ssd1306_SOURCES})
|
|
|
|
target_include_directories(
|
|
pico_ssd1306
|
|
PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include
|
|
PRIVATE ${CMAKE_CURRENT_LIST_DIR}/include/ssd1306)
|
|
|
|
target_link_libraries(pico_ssd1306 PUBLIC pico_stdlib hardware_i2c hardware_dma)
|