diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2014-11-12 16:59:16 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-12-11 19:57:19 +0300 |
commit | 8cc3903383d0022701bbdb1ca25799a9a087c265 (patch) | |
tree | 7ed31d4d1bba8da82a7a6b8721f4f747ce8f42d5 /CMakeLists.txt | |
parent | c5d80836cd0f9fdcfb0b0dc22d94f6a51fcacacd (diff) |
examples: fix build.
- runqueue-example.c: fix include path for in-tree build.
- blobmsg-example.c: add inttypes.h for using PRIu64.
- add examples/ subdirectory to main CMakeLists.txt
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b1570c..ddd5533 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,6 +39,7 @@ INSTALL(TARGETS ubox ubox-static ) ADD_SUBDIRECTORY(lua) +ADD_SUBDIRECTORY(examples) find_library(json NAMES json-c) IF(EXISTS ${json}) |