Browse Source

CMake: Build test by default

Max Bruckner 8 years ago
parent
commit
47841ed3a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      CMakeLists.txt

+ 1 - 1
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)