libubox: cmake: Add BUILD_EXAMPLES option
authorNikolay Dimitrov <picmaster@mail.bg>
Sat, 6 Jun 2015 15:04:19 +0000 (18:04 +0300)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 14 Jun 2015 13:25:38 +0000 (15:25 +0200)
commit4c94515cc8b2ae23bb9c2611e603e09171502531
tree9f24ccf578c05b125024e5e5a4175fa0e46ed06a
parent8964d77f806291bfbbad6a2e2b530c1838dec29c
libubox: cmake: Add BUILD_EXAMPLES option

Add ability to skip building the examples. The default value is ON to follow
the original cmake behavior.

Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
CMakeLists.txt
examples/CMakeLists.txt