cmake: Find libubox/blobmsg_json.h
authorFlorian Fainelli <f.fainelli@gmail.com>
Sat, 3 Dec 2016 17:34:44 +0000 (09:34 -0800)
committerJohn Crispin <john@phrozen.org>
Sun, 11 Dec 2016 08:16:30 +0000 (09:16 +0100)
commit0577cfc1acdbaf30c31090e75045ba58d6dd8a78
tree916a920296cbf414568b58151ec83adb78d3fcf4
parent26c98ec94d7aa6d5d3fe6c3fccc78b26a2bf11d4
cmake: Find libubox/blobmsg_json.h

Add a CMake FIND_PATH and INCLUDE_DIRECTORIES searching for 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