X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=low-can-binding%2FCMakeLists.txt;h=ada0e808cf4e8b19e8dd7913faa390b70999d601;hb=9bf2d1243b3a2a95d6bfc4b2f2fb437e87ad7168;hp=3c698c73517078929f7171fb8b05b5bfe69fa417;hpb=3d8c0459bcfde576581246b6d2e0e0d5595ac638;p=apps%2Fagl-service-can-low-level.git diff --git a/low-can-binding/CMakeLists.txt b/low-can-binding/CMakeLists.txt index 3c698c73..ada0e808 100644 --- a/low-can-binding/CMakeLists.txt +++ b/low-can-binding/CMakeLists.txt @@ -49,6 +49,14 @@ PROJECT_TARGET_ADD(low-can) binding/application-generated.cpp ) + + if(WITH_FEATURE_ISOTP) + set(SOURCES_ISOTP + utils/socketcan-isotp.cpp + ) + endif() + + if(WITH_FEATURE_J1939) set(SOURCES_J1939 can/message/j1939-message.cpp @@ -58,7 +66,7 @@ PROJECT_TARGET_ADD(low-can) ) endif() - add_library(${TARGET_NAME} MODULE ${SOURCES} ${SOURCES_J1939}) + add_library(${TARGET_NAME} MODULE ${SOURCES} ${SOURCES_J1939} ${SOURCES_ISOTP}) set(OPENAPI_DEF "binding/low-can-apidef" CACHE STRING "name and path to the JSON API definition without extension") # Binder exposes a unique public entry point