Skip to content

Commit

Permalink
Disable JSONL on JSON Toolkit (which we don't use) (#724)
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Cruz Viotti <[email protected]>
  • Loading branch information
jviotti authored Feb 9, 2024
1 parent 8774c0c commit ea22e46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ option(JSONBINPACK_WEBSITE "Build the JSON BinPack website" OFF)
# TODO: Generate (and test) CMake config

# Dependencies
# TODO: Disable non-required JSON Toolkit components
find_package(JSONToolkit REQUIRED)

# Sources
Expand Down
1 change: 1 addition & 0 deletions cmake/FindJSONToolkit.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
if(NOT JSONToolkit_FOUND)
set(JSONTOOLKIT_JSONL OFF CACHE BOOL "disable JSONL support")
add_subdirectory("${PROJECT_SOURCE_DIR}/vendor/jsontoolkit")
set(JSONToolkit_FOUND ON)
endif()

0 comments on commit ea22e46

Please sign in to comment.