build: fix BUILD_STATIC
authorYousong Zhou <yszhou4tech@gmail.com>
Tue, 21 Mar 2017 03:15:11 +0000 (11:15 +0800)
committerFelix Fietkau <nbd@nbd.name>
Wed, 12 Apr 2017 08:54:45 +0000 (10:54 +0200)
commit5d08b7f5d6628cf83f3e11ece50f6c5506999b69
tree974ba7ac3db8e477c5e3ce501925eb7f8f1e19b8
parent49ec6efbdac4819033d34f08927d795f83a3932d
build: fix BUILD_STATIC

- Build libuci.a in addition to libuci.so
 - Build uci cli utitlity statically if BUILD_STATIC is enabled

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
CMakeLists.txt