cmake: Find libubus.h
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 11 Jul 2016 21:03:49 +0000 (14:03 -0700)
committerFelix Fietkau <nbd@nbd.name>
Wed, 27 Jul 2016 15:28:46 +0000 (17:28 +0200)
commitf4089654a399fbea6b8fd25844fbb43d259e0332
treecf3f0b9478efffdf79d1ca865fc215f84508c55e
parent23417e94d25570e6d62542bac46edd51e8e0243a
cmake: Find libubus.h

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