if (DEFINED ENV{LIB_SSD1306_UTF8_PATH} AND (NOT LIB_SSD1306_UTF8_PATH))
    set(LIB_SSD1306_UTF8_PATH $ENV{LIB_SSD1306_UTF8_PATH})
    message("Using LIB_SSD1306_UTF8_PATH from environment ('${LIB_SSD1306_UTF8_PATH}')")
endif ()

if (NOT LIB_SSD1306_UTF8_PATH)
  message(FATAL_ERROR "No ssd1306 utf8 library found")
endif ()

add_subdirectory(${LIB_SSD1306_UTF8_PATH} build/lib/ssd1306_utf8)

