You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/simdjson/files/simdjson-3.1.7-tests.patch

22 lines
562 B

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