mirror of
https://github.com/json-c/json-c.git
synced 2026-11-05 21:20:16 +08:00
Only execute test_json_parse_cli when BUILD_APPS is ON
This commit is contained in:
1 parent
f4fd48cdea
commit
c80ca19a35
1 file changed
+4
-3
@@ -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