summaryrefslogtreecommitdiffstats
path: root/extra/FindNanopb.cmake
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-08-26 18:05:10 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-08-26 18:05:10 +0300
commit8a95311b51e6b64835ba8141594d8e804241377e (patch)
treeef08360c0f56ae61fe95702699f82fab0624f6f7 /extra/FindNanopb.cmake
parent3ed219382e55885a66a462db1cf06170ce80e606 (diff)
Add pb_common.c to examples
Diffstat (limited to 'extra/FindNanopb.cmake')
-rw-r--r--extra/FindNanopb.cmake4
1 files changed, 2 insertions, 2 deletions
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})