aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-11-26 18:23:42 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2019-12-03 19:46:26 +0100
commita8d03c2ab5d1c1e3b90ba4ace93e01ee0dee81b0 (patch)
treecb48922f4ce37889cdffd4c1b3dc247e41bc7f19
parent77c9e38fa8370148826942c4853896573e39456d (diff)
plugins: Conditionnal building of the j1939 plugin
Change-Id: Idf77aa32ca4fd44163d93d0515f21d51f1d7abd7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rwxr-xr-xplugins/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index 7b9e0296..3ae4682b 100755
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -43,6 +43,7 @@ PROJECT_TARGET_ADD(agl-vcar-signals)
afb-helpers
${link_libraries})
+if(WITH_FEATURE_J1939)
PROJECT_TARGET_ADD(j1939-signals)
# Define targets
@@ -69,3 +70,4 @@ PROJECT_TARGET_ADD(j1939-signals)
bitfield-c
afb-helpers
${link_libraries})
+endif()