u8g2-copy/pkg/u8g2-config.cmake

7 lines
230 B
CMake

get_filename_component(_dir "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_filename_component(_prefix "${_dir}/../../.." ABSOLUTE)
include("${_prefix}/lib/cmake/u8g2/u8g2-targets.cmake")
set(u8g2_INCLUDE_DIRS "${_prefix}/include/u8g2")