From 62967fe497524f12b7e9abb1bb8f9b35286da2cb Mon Sep 17 00:00:00 2001 From: Michael Ehrenreich Date: Thu, 28 Apr 2022 03:46:42 +0200 Subject: [PATCH] Make bobbycar-protocol library less useless --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7cdbf05..e35daf8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,7 +37,6 @@ include_directories( STM32CubeF1/Drivers/CMSIS/Device/ST/STM32F1xx/Include STM32CubeF1/Drivers/CMSIS/Include bobbycar-foc-model - bobbycar-protocol ) add_library(stm32_hal STATIC @@ -67,8 +66,8 @@ add_library(emanuel_foc_model STATIC bobbycar-foc-model/rtwtypes.h ) -add_library(bobbycar-protocol INTERFACE -) +add_library(bobbycar-protocol INTERFACE) +target_include_directories(bobbycar-protocol INTERFACE bobbycar-protocol) set(COMMON_SOURCES