aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/mpack/CMakeLists.txt4
-rw-r--r--lib/pbdrv/CMakeLists.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/mpack/CMakeLists.txt b/lib/mpack/CMakeLists.txt
index 4badc7b..7716bce 100644
--- a/lib/mpack/CMakeLists.txt
+++ b/lib/mpack/CMakeLists.txt
@@ -19,11 +19,11 @@ add_library(mpack STATIC
src/src/mpack/mpack-reader.c
src/src/mpack/mpack-writer.c
read-remaining.c
- )
+)
target_include_directories(mpack SYSTEM INTERFACE
.
src/src/mpack
- )
+)
# causes some wild crashes, please leave off
target_compile_definitions(mpack PRIVATE MPACK_READ_TRACKING=0)
diff --git a/lib/pbdrv/CMakeLists.txt b/lib/pbdrv/CMakeLists.txt
index 903a3b4..4fb61d4 100644
--- a/lib/pbdrv/CMakeLists.txt
+++ b/lib/pbdrv/CMakeLists.txt
@@ -21,7 +21,7 @@ add_library(pbdrv STATIC
pb-msg.c
pb-serial.c
pb-buf.c
- )
+)
target_include_directories(pbdrv SYSTEM INTERFACE .)
target_link_libraries(pbdrv PRIVATE mpack)
@@ -30,7 +30,7 @@ add_library(pbdrv-mod OBJECT
pb-mod.c
pb-send.c
pb-route.c
- )
+)
target_include_directories(pbdrv-mod SYSTEM INTERFACE .)
target_link_libraries(pbdrv-mod PUBLIC pbdrv)