summaryrefslogtreecommitdiffstats
path: root/CAN-binder/libs/isotp-c
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-17 17:54:48 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-19 11:36:43 +0200
commit20a1610830d9e972b19216606dccd9019708ec56 (patch)
tree2e44be09cf40daab9c088d31d0605f2d8ed328ee /CAN-binder/libs/isotp-c
parent7b64216f9d8784f28b79ea7545392036f190fb6c (diff)
Update latest CMakeLists files from app-templates.
Better handling of dependencies using TARGET_LINK_DIRECTORIES directive Change-Id: Iffead28aa2e2696cdc9103301d013deee2e6b1ab Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/libs/isotp-c')
-rw-r--r--CAN-binder/libs/isotp-c/CMakeLists.txt3
1 files changed, 1 insertions, 2 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})