Skip to content

Commit d514bec

Browse files
authored
Merge pull request #16 from mwinters-stuff/main
Fixes CMakeLists.txt to properly import the paths into any location. pico-sdk compatible.
2 parents 7b60d7b + 46654f2 commit d514bec

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

cmake/CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
add_library(tcUnicodeHelper
1+
2+
cmake_minimum_required(VERSION 3.13)
3+
4+
add_library(tcUnicodeHelper
25
../src/tcUnicodeHelper.cpp
36
../src/Utf8TextProcessor.cpp
47
)
@@ -7,7 +10,7 @@ target_compile_definitions(IoAbstraction
710
PUBLIC BUILD_FOR_PICO_CMAKE=1 BUILD_PICO_FORCE_UART=1 IO_LOGGING_DEBUG=1
811
)
912
target_include_directories(tcUnicodeHelper PUBLIC
10-
${PROJECT_SOURCE_DIR}/lib/tcUnicodeHelper/src
13+
../src
1114
)
1215

1316
target_link_libraries(tcUnicodeHelper PUBLIC pico_stdlib pico_sync IoAbstraction)

0 commit comments

Comments
 (0)