diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-10 04:21:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-10 04:21:55 +0100 |
commit | 677b7ba5c317778df2ad7e70df94b9b7eec4adbc (patch) | |
tree | 6c418a1546fff5becab5d8b9ed6803323e7f316e /dev-libs/simdjson/files/simdjson-1.0.0-install-tools.patch | |
parent | fbda87924e6faa7a1919f1a2b4182490bde5ec5c (diff) |
gentoo resync : 10.09.2021
Diffstat (limited to 'dev-libs/simdjson/files/simdjson-1.0.0-install-tools.patch')
-rw-r--r-- | dev-libs/simdjson/files/simdjson-1.0.0-install-tools.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-libs/simdjson/files/simdjson-1.0.0-install-tools.patch b/dev-libs/simdjson/files/simdjson-1.0.0-install-tools.patch new file mode 100644 index 000000000000..10d332315608 --- /dev/null +++ b/dev-libs/simdjson/files/simdjson-1.0.0-install-tools.patch @@ -0,0 +1,21 @@ +diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt +index f3eaa054..4eaff3d1 100644 +--- a/tools/CMakeLists.txt ++++ b/tools/CMakeLists.txt +@@ -1,12 +1,13 @@ +-if(TARGET cxxopts) # we only build the tools if cxxopts is available ++if(SIMDJSON_TOOLS) + message(STATUS "We have cxxopts as a dependency and we are building the tools (e.g., json2json).") +- foreach(tool IN ITEMS json2json jsonstats jsonpointer minify) ++ foreach(tool IN ITEMS json2json jsonstats simdjsonpointer minify) + add_executable("${tool}" "${tool}.cpp") + simdjson_apply_props("${tool}") + target_link_libraries( + "${tool}" PRIVATE +- simdjson simdjson-internal-flags simdjson-windows-headers cxxopts ++ simdjson simdjson-internal-flags simdjson-windows-headers + ) ++ install(TARGETS "${tool}") + endforeach() + else() + message(STATUS "We are missing cxxopts as a dependency so the tools (e.g., json2json) are omitted.") |