diff options
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 ) |