提交 47841ed3 编写于 作者: M Max Bruckner

CMake: Build test by default

上级 c3fecc2d
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册