Tidy up to get external project working

This commit is contained in:
Mike Bell 2024-08-10 16:20:17 +01:00
parent be6f1157af
commit 65aa8be888
3 changed files with 3 additions and 2 deletions

View file

@ -15,6 +15,7 @@ pico_sdk_init()
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror") #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror")
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
include(pico_dvhstx.cmake) include(pico_dvhstx.cmake)
add_subdirectory(examples/dvhstx) add_subdirectory(examples/dvhstx)

View file

@ -1,5 +1,5 @@
#include "pico_graphics.hpp" #include "pico_graphics.hpp"
#include "dvhstx.hpp" #include "drivers/dvhstx/dvhstx.hpp"
namespace pimoroni { namespace pimoroni {
enum BlendMode { enum BlendMode {

View file

@ -1,5 +1,5 @@
add_subdirectory(drivers/dvhstx) include(drivers/dvhstx/dvhstx)
set(LIB_NAME pico_dvhstx) set(LIB_NAME pico_dvhstx)
add_library(${LIB_NAME} INTERFACE) add_library(${LIB_NAME} INTERFACE)