intel/tinycbor

Install "tinycbor-version.h" header

thedataking opened this issue · 1 comments

As of version 0.5.0, cbor.h includes tinycbor-version.h. However, make install does not install the latter file in v0.5.0 and v0.5.1. Example error:

/tinycbor/prefix/include/tinycbor/cbor.h:37:10: fatal error: 'tinycbor-version.h' file not found
#include "tinycbor-version.h"
         ^~~~~~~~~~~~~~~~~~~~

Proposed Makefile patch:

23c23,24
< TINYCBOR_HEADERS = src/cbor.h src/cborjson.h
---
> TINYCBOR_HEADERS = src/cbor.h src/cborjson.h \
> 	src/tinycbor-version.h```

I'll make the 0.5.2 release tomorrow.