From 4c94515cc8b2ae23bb9c2611e603e09171502531 Mon Sep 17 00:00:00 2001 From: Nikolay Dimitrov Date: Sat, 6 Jun 2015 18:04:19 +0300 Subject: libubox: cmake: Add BUILD_EXAMPLES option Add ability to skip building the examples. The default value is ON to follow the original cmake behavior. Signed-off-by: Nikolay Dimitrov --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 38709ec..ecca3e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,7 @@ PROJECT(ubox C) ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations) OPTION(BUILD_LUA "build Lua plugin" ON) +OPTION(BUILD_EXAMPLES "build examples" ON) INCLUDE(FindPkgConfig) PKG_SEARCH_MODULE(JSONC json-c) -- cgit v1.2.3