Skip to content

Commit 0acd9c8

Browse files
author
Gianfranco Costamagna
committed
Use JSON_TestDataDirectory directly
1 parent 2c27e0e commit 0acd9c8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cmake/download_test_data.cmake

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
set(JSON_TEST_DATA_URL https://github.com/nlohmann/json_test_data)
22
set(JSON_TEST_DATA_VERSION 3.1.0)
33

4-
set(JSON_TEST_DATA_DIR /usr/share/json_test_data)
5-
6-
if(EXISTS ${JSON_TEST_DATA_DIR})
7-
set(JSON_TestDataDirectory ${JSON_TEST_DATA_DIR})
8-
endif()
9-
104
# if variable is set, use test data from given directory rather than downloading them
115
if(JSON_TestDataDirectory)
126
message(STATUS "Using test data in ${JSON_TestDataDirectory}.")

0 commit comments

Comments
 (0)