aboutsummaryrefslogtreecommitdiffstats
path: root/CAN-binder/libs
diff options
context:
space:
mode:
Diffstat (limited to 'CAN-binder/libs')
-rw-r--r--CAN-binder/libs/isotp-c/CMakeLists.txt3
-rw-r--r--CAN-binder/libs/uds-c/CMakeLists.txt3
2 files changed, 2 insertions, 4 deletions
diff --git a/CAN-binder/libs/isotp-c/CMakeLists.txt b/CAN-binder/libs/isotp-c/CMakeLists.txt
index a4942126..fbb5161f 100644
--- a/CAN-binder/libs/isotp-c/CMakeLists.txt
+++ b/CAN-binder/libs/isotp-c/CMakeLists.txt
@@ -32,12 +32,11 @@ PROJECT_TARGET_ADD(isotp-c)
)
# Define target includes
- get_target_property(Bitfield_inc bitfield-c INCLUDE_DIRECTORIES)
TARGET_INCLUDE_DIRECTORIES(${TARGET_NAME}
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src
- ${Bitfield_inc}
)
# Library dependencies (include updates automatically)
TARGET_LINK_LIBRARIES(${TARGET_NAME}
+ bitfield-c
${link_libraries})
diff --git a/CAN-binder/libs/uds-c/CMakeLists.txt b/CAN-binder/libs/uds-c/CMakeLists.txt
index 34ae4ea7..8f78fd6d 100644
--- a/CAN-binder/libs/uds-c/CMakeLists.txt
+++ b/CAN-binder/libs/uds-c/CMakeLists.txt
@@ -31,12 +31,11 @@ PROJECT_TARGET_ADD(uds-c)
)
# Define target includes
- get_target_property(IsoTP_inc isotp-c INCLUDE_DIRECTORIES)
TARGET_INCLUDE_DIRECTORIES(${TARGET_NAME}
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src
- ${IsoTP_inc}
)
# Library dependencies (include updates automatically)
TARGET_LINK_LIBRARIES(${TARGET_NAME}
+ isotp-c
${link_libraries})