android_add_test_data: Neither ExternalData_URL_TEMPLATES nor ExternalData_OBJECT_STORES is set
This simple example:
cmake_minimum_required(VERSION 3.7)
project(Foo)
set(device_dir "/data/local/tmp/AndroidTest")
include(AndroidTestUtilities)
enable_testing()
android_add_test_data(
ExampleTest
FILES "boo.txt;foo.txt"
DEVICE_TEST_DIR "${device_dir}/testdir"
DEVICE_OBJECT_STORE "${device_dir}/objects"
)
produce error:
Neither ExternalData_URL_TEMPLATES nor ExternalData_OBJECT_STORES is set
Workaround:
set(ExternalData_URL_TEMPLATES "x")