Commit 9a048790 authored by Tom Finegan's avatar Tom Finegan

Allow control of test data path via CMake.

Support override of the LIBAOM_TEST_DATA_PATH variable via
the CMake command line:

$ cmake path/to/aom -DAOM_TEST_DATA_PATH=path/to/test/data

Change-Id: Idb0f3394584c0d0dfab221b42c539f0ffb15dc65
parent cd4f4a2a
......@@ -19,7 +19,10 @@ endif ()
set(AOM_TEST_DATA_URL
"https://storage.googleapis.com/downloads.webmproject.org/test_data/libvpx")
set(AOM_TEST_DATA_PATH "$ENV{LIBAOM_TEST_DATA_PATH}")
if (NOT AOM_TEST_DATA_PATH)
set(AOM_TEST_DATA_PATH "$ENV{LIBAOM_TEST_DATA_PATH}")
endif ()
if ("${AOM_TEST_DATA_PATH}" STREQUAL "")
message(WARNING "Writing test data to ${AOM_CONFIG_DIR}, set "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment