summaryrefslogtreecommitdiff
path: root/dev-libs/simdjson/files/simdjson-1.0.0-dont-fetch-data-tarball.patch
blob: b3cd8558b2ffcb5568d535b9e4bffe74ac129ef4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/dependencies/CMakeLists.txt b/dependencies/CMakeLists.txt
index 76651318..da5029c0 100644
--- a/dependencies/CMakeLists.txt
+++ b/dependencies/CMakeLists.txt
@@ -19,8 +19,9 @@ if(SIMDJSON_GOOGLE_BENCHMARKS)
 endif()
 
 # The bulk of our benchmarking and testing data has been moved simdjson/simdjson-data
-import_dependency(simdjson-data simdjson/simdjson-data a5b13babe65c1bba7186b41b43d4cbdc20a5c470)
-add_dependency(simdjson-data)
+if(SIMDJSON_TESTS)
+  add_subdirectory(simdjson-data dependencies/simdjson-data)
+endif()
 
 # This prevents variables declared with set() from unnecessarily escaping and
 # should not be called more than once