From b6efbc2f546447abce0314d62324e658defac496 Mon Sep 17 00:00:00 2001 From: Joel Winarske Date: Tue, 14 Aug 2018 09:18:11 -0700 Subject: [PATCH] canbusload dep fix --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 80437a6..f7fbcc0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,8 +40,9 @@ if(NOT ANDROID) endif() foreach(name ${PROGRAMS}) + set(SRC_DEPS) if("${name}" STREQUAL "canbusload") - set(SRC_DEPS canframelen) + set(SRC_DEPS canframelen.c) elseif("${name}" IN_LIST PROGRAMS_J1939) set(SRC_DEPS libj1939.c) elseif("${name}" IN_LIST PROGRAMS_CANLIB)