cmake: Find libubox/usock.h
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 11 Jul 2016 21:01:15 +0000 (14:01 -0700)
committerFelix Fietkau <nbd@nbd.name>
Wed, 27 Jul 2016 15:27:43 +0000 (17:27 +0200)
commit59e0c739634f46a164d939e54416287b91ff8a9b
treef5d66220200c0f6f1487f5488289b3018bfc09cf
parent9d9f07142bbef1c63a79620967a847a9493105e5
cmake: Find libubox/usock.h

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