projects
/
project
/
libubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make the blobmsg format endian agnostic (stick to big-endian)
[project/libubox.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
9e8f093
..
2729150
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-26,7
+26,18
@@
find_library(json json)
IF(EXISTS ${json})
ADD_LIBRARY(blobmsg_json SHARED blobmsg_json.c)
TARGET_LINK_LIBRARIES(blobmsg_json ubox json)
IF(EXISTS ${json})
ADD_LIBRARY(blobmsg_json SHARED blobmsg_json.c)
TARGET_LINK_LIBRARIES(blobmsg_json ubox json)
- INSTALL(TARGETS blobmsg_json
+
+ ADD_EXECUTABLE(jshn jshn.c)
+ TARGET_LINK_LIBRARIES(jshn json)
+
+ INSTALL(TARGETS blobmsg_json jshn
LIBRARY DESTINATION lib
LIBRARY DESTINATION lib
+ RUNTIME DESTINATION bin
)
)
+
+ FILE(GLOB scripts sh/*.sh)
+ INSTALL(FILES ${scripts}
+ DESTINATION share/libubox
+ )
+
ENDIF()
ENDIF()