summaryrefslogtreecommitdiff
blob: 6a76cf83ed98c718cc45204cd0aea29ebf3ed368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
diff --git a/dependencies/CMakeLists.txt b/dependencies/CMakeLists.txt
index 2c41169f..2f5d4436 100644
--- a/dependencies/CMakeLists.txt
+++ b/dependencies/CMakeLists.txt
@@ -129,15 +129,3 @@ endfunction()
 if(SIMDJSON_COMPETITION)
   competition_scope_()
 endif()
-
-cmake_dependent_option(SIMDJSON_CXXOPTS "Download cxxopts (necessary for tools)" ON
-        SIMDJSON_ALLOW_DOWNLOADS OFF)
-
-if(SIMDJSON_CXXOPTS)
-  set_off(CXXOPTS_BUILD_EXAMPLES)
-  set_off(CXXOPTS_BUILD_TESTS)
-  set_off(CXXOPTS_ENABLE_INSTALL)
-
-  import_dependency(cxxopts jarro2783/cxxopts 794c975)
-  add_dependency(cxxopts)
-endif()
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index f1a82be7..b1b7b1a0 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -1,10 +1,8 @@
-if(TARGET cxxopts) # we only build the tools if cxxopts is available
   message(STATUS "We have cxxopts as a dependency and we are buiding the tools (e.g., json2json).")
-  link_libraries(simdjson simdjson-internal-flags simdjson-windows-headers cxxopts)
+  link_libraries(simdjson simdjson-internal-flags simdjson-windows-headers)
   add_executable(json2json json2json.cpp)
   add_executable(jsonstats jsonstats.cpp)
-  add_executable(jsonpointer jsonpointer.cpp)
+  add_executable(simdjsonpointer jsonpointer.cpp)
   add_executable(minify minify.cpp)
-else()
-  message(STATUS "We are missing cxxopts as a dependency so the tools (e.g., json2json) are omitted.")
-endif()
\ No newline at end of file
+  install(TARGETS json2json jsonstats simdjsonpointer minify DESTINATION bin)
+