mirror of
https://github.com/json-c/json-c.git
synced 2026-09-07 08:36: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_object_iterator)
|
||||
|
||||
set(NOBUILD_TEST_NAMES
|
||||
test_json_parse_cli
|
||||
)
|
||||
set(NOBUILD_TEST_NAMES "")
|
||||
if (BUILD_APPS)
|
||||
set(NOBUILD_TEST_NAMES ${NOBUILD_TEST_NAMES} test_json_parse_cli)
|
||||
endif()
|
||||
|
||||
if (NOT DISABLE_JSON_POINTER)
|
||||
set(ALL_TEST_NAMES ${ALL_TEST_NAMES} test_json_pointer)
|
||||
|
||||
Reference in New Issue
Block a user