X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=extra%2FFindNanopb.cmake;h=65ab5884538ce57882ebfe6ce7f65463ff506d09;hb=a0f0440394ac3b38105dfad09366f95011c5d8d3;hp=c804e7016b4de81d9702f9c472462bc81e1fdd06;hpb=ef31774cd902a6f069b8f2b80b870167328f5acb;p=apps%2Fagl-service-can-low-level.git diff --git a/extra/FindNanopb.cmake b/extra/FindNanopb.cmake index c804e701..65ab5884 100644 --- a/extra/FindNanopb.cmake +++ b/extra/FindNanopb.cmake @@ -182,8 +182,8 @@ mark_as_advanced(NANOPB_INCLUDE_DIRS) # Find nanopb source files set(NANOPB_SRCS) set(NANOPB_HDRS) -list(APPEND _nanopb_srcs pb_decode.c pb_encode.c) -list(APPEND _nanopb_hdrs pb_decode.h pb_encode.h pb.h) +list(APPEND _nanopb_srcs pb_decode.c pb_encode.c pb_common.c) +list(APPEND _nanopb_hdrs pb_decode.h pb_encode.h pb_common.h pb.h) foreach(FIL ${_nanopb_srcs}) find_file(${FIL}__nano_pb_file NAMES ${FIL} PATHS ${NANOPB_SRC_ROOT_FOLDER} ${NANOPB_INCLUDE_DIRS})