cgi-io: Find and search for libubus.h
authorFlorian Fainelli <f.fainelli@gmail.com>
Sun, 18 Jun 2017 19:45:30 +0000 (12:45 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Sun, 18 Jun 2017 19:45:30 +0000 (12:45 -0700)
commit0b85489a97a91c168ce55c12b894c9704d3d9f3c
treee20c6d01d4f3e56946a1183b9bf79e6fd46af60d
parent3b333ec0f94579e0d532dc9052f443668b5b785a
cgi-io: Find and search for libubus.h

Fixes build errors with external toolchains:

[ 33%] Building C object CMakeFiles/cgi-io.dir/main.c.o
/home/florian/dev/openwrt/trunk/build_dir/target-mipsel-unknown-linux-gnu_glibc/cgi-io/main.c:30:21:
fatal error: libubus.h: No such file or directory
 #include <libubus.h>
                     ^
compilation terminated.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
net/cgi-io/Makefile
net/cgi-io/src/CMakeLists.txt