cmake: Find libubox/blobmsg_json.h
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 11 Jul 2016 22:34:36 +0000 (15:34 -0700)
committerFelix Fietkau <nbd@nbd.name>
Tue, 19 Jul 2016 12:22:28 +0000 (14:22 +0200)
commit2769852e76b547f6e9b56f769f2a0056d47df7a4
tree7be523d3be5e8ca415bf32800385ae841ea653de
parent8a47c4b6649f8437bb60300471400d558426612e
cmake: Find libubox/blobmsg_json.h

Add a CMake FIND_PATH and INCLUDE_DIRECTORIES searching for
libubox/blobmsg_json.h. Some external toolchains which do not include standard
locations would fail to find the header otherwise.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
CMakeLists.txt