mirror of
https://github.com/json-c/json-c.git
synced 2026-09-07 16:46:50 +08:00
Only execute test_json_parse_cli when BUILD_APPS is ON
This commit is contained in:
@@ -38,9 +38,10 @@ set(ALL_TEST_NAMES
|
|||||||
test_visit
|
test_visit
|
||||||
test_object_iterator)
|
test_object_iterator)
|
||||||
|
|
||||||
set(NOBUILD_TEST_NAMES
|
set(NOBUILD_TEST_NAMES "")
|
||||||
test_json_parse_cli
|
if (BUILD_APPS)
|
||||||
)
|
set(NOBUILD_TEST_NAMES ${NOBUILD_TEST_NAMES} test_json_parse_cli)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (NOT DISABLE_JSON_POINTER)
|
if (NOT DISABLE_JSON_POINTER)
|
||||||
set(ALL_TEST_NAMES ${ALL_TEST_NAMES} test_json_pointer)
|
set(ALL_TEST_NAMES ${ALL_TEST_NAMES} test_json_pointer)
|
||||||
|
|||||||
Reference in New Issue
Block a user