aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/ext/freertos/include.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pbdrv/ext/freertos/include.cmake')
-rw-r--r--lib/pbdrv/ext/freertos/include.cmake9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/pbdrv/ext/freertos/include.cmake b/lib/pbdrv/ext/freertos/include.cmake
index d01afe7..e7ab7fd 100644
--- a/lib/pbdrv/ext/freertos/include.cmake
+++ b/lib/pbdrv/ext/freertos/include.cmake
@@ -1,10 +1,9 @@
-target_sources(pbdrv-mod PRIVATE
- "${CMAKE_CURRENT_LIST_DIR}/pb-mem.c"
- "${CMAKE_CURRENT_LIST_DIR}/pb-mod.c"
- )
-target_link_libraries(pbdrv-mod
+target_sources(pbdrv PRIVATE "${CMAKE_CURRENT_LIST_DIR}/pb-mem.c")
+target_link_libraries(pbdrv
freertos_kernel
freertos_kernel_include
freertos_config
)
+target_sources(pbdrv-mod PRIVATE "${CMAKE_CURRENT_LIST_DIR}/pb-mod.c")
+