summaryrefslogtreecommitdiff
path: root/dev-libs/simdjson/files/simdjson-3.1.7-tests.patch
blob: dd254be00a7349fdf7f07ec3ca4fac23794f5707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ba15fe93..6993bdd5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -249,12 +249,11 @@ add_subdirectory(singleheader)
 #
 # Compile tools / tests / benchmarks
 #
-add_subdirectory(tests)
-add_subdirectory(examples)
-if(CMAKE_SIZEOF_VOID_P EQUAL 8) # we only include the benchmarks on 64-bit systems.
-  add_subdirectory(benchmark)
+if (SIMDJSON_TESTS)
+  add_subdirectory(tests)
+  add_subdirectory(fuzz)
 endif()
-add_subdirectory(fuzz)
+add_subdirectory(examples)
 
 #
 # Source files should be just ASCII