aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/CMakeLists.txt
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-05 17:44:57 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-05 17:44:57 +0200
commit0fc049aeaf3dab41e92ed0bd7872094d7c5c9bdc (patch)
treec96ed327f4fedaa95937b1c4dd6bf53d12aa4ecc /lib/pbdrv/CMakeLists.txt
parent68471e5800b81285453a26547721d264dbcf49b9 (diff)
WIP pb-write cmd req set state
Diffstat (limited to 'lib/pbdrv/CMakeLists.txt')
-rw-r--r--lib/pbdrv/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/pbdrv/CMakeLists.txt b/lib/pbdrv/CMakeLists.txt
index 08894cc..dfaac01 100644
--- a/lib/pbdrv/CMakeLists.txt
+++ b/lib/pbdrv/CMakeLists.txt
@@ -10,6 +10,8 @@ add_compile_definitions(DEBUG)
project(pbdrv C CXX)
+add_subdirectory(../mpack ${CMAKE_CURRENT_BINARY_DIR}/mpack)
+
if(DEFINED ARDUINO)
set(PBDRV_ARDUINO true)
endif()
@@ -19,6 +21,9 @@ add_library(pbdrv STATIC
pb-read.c
pb-write.c
)
+target_link_libraries(pbdrv
+ mpack
+ )
target_include_directories(pbdrv SYSTEM INTERFACE .)
list(APPEND PBDRV_SRCS pb-mod.c)