From 47841ed3a7b1767959dde21059524d6fba982b4f Mon Sep 17 00:00:00 2001 From: Max Bruckner Date: Sat, 5 Nov 2016 16:40:23 +0700 Subject: [PATCH] CMake: Build test by default --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 450b14e..6cdd927 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,7 +64,7 @@ set_target_properties(${CJSON_UTILS_LIB} SOVERSION ${CJSON_UTILS_VERSION_SO} VERSION ${CJSON_VERSION}) -option(ENABLE_CJSON_TEST "Enable building cJSON test" OFF) +option(ENABLE_CJSON_TEST "Enable building cJSON test" ON) if(ENABLE_CJSON_TEST) set(TEST_CJSON cJSON_test) add_executable(${TEST_CJSON} test.c)