diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-03-01 00:50:49 +0400 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-03-01 00:50:55 +0400 |
commit | 38ea521911a1bf01b3714f1dfc725e941159c0f1 (patch) | |
tree | deda3b043a83dd48dd6f2988940e868cf01e8339 /CMakeLists.txt | |
parent | af2f52a37bdbb34835da08b518a5f5a950d87a77 (diff) |
add json_script, a minimalistic JSON based script interpreter
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ba7ccaa..941fd8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,7 +43,10 @@ IF(EXISTS ${json}) ADD_EXECUTABLE(jshn jshn.c) TARGET_LINK_LIBRARIES(jshn ${json}) - INSTALL(TARGETS blobmsg_json jshn + ADD_LIBRARY(json_script SHARED json_script.c) + TARGET_LINK_LIBRARIES(json_script ubox) + + INSTALL(TARGETS blobmsg_json jshn json_script LIBRARY DESTINATION lib RUNTIME DESTINATION bin ) |