From 5cca67e3fcc1da2d38f5a648e1e409c366555da7 Mon Sep 17 00:00:00 2001 From: Max Bruckner Date: Mon, 14 Nov 2016 19:36:04 +0700 Subject: [PATCH] CMake: Build tests by default --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 61592f7..c36097a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -93,7 +93,7 @@ install(FILES ${PROJECT_BINARY_DIR}/cJSONConfig.cmake ${PROJECT_BINARY_DIR}/cJSONConfigVersion.cmake DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/cJSON") -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)