Skip to content

Commit

Permalink
Merge pull request #240 from mwinters-stuff/main
Browse files Browse the repository at this point in the history
Fixes CMakeLists.txt to properly import the paths into any location. pico-sdk compatible.
  • Loading branch information
davetcc authored Jan 25, 2025
2 parents 8587fbd + ac578e5 commit 6ab0a07
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
add_library(tcMenu
cmake_minimum_required(VERSION 3.13)

add_library(tcMenu
../src/BaseDialog.cpp
../src/BaseRenderers.cpp
../src/EditableLargeNumberMenuItem.cpp
Expand Down Expand Up @@ -40,7 +42,7 @@ target_compile_definitions(tcMenu
)

target_include_directories(tcMenu PUBLIC
${PROJECT_SOURCE_DIR}/lib/tcMenu/src
../src
)

target_link_libraries(tcMenu PUBLIC pico_stdlib pico_sync IoAbstraction TaskManagerIO tcUnicodeHelper)

0 comments on commit 6ab0a07

Please sign in to comment.