Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ endif()

add_subdirectory(vendor/libcorrect EXCLUDE_FROM_ALL)
add_subdirectory(vendor/libaec EXCLUDE_FROM_ALL)
add_subdirectory(vendor/json EXCLUDE_FROM_ALL)

find_package(nlohmann_json QUIET)
if(NOT ${nlohmann_json_FOUND})
add_subdirectory(vendor/json EXCLUDE_FROM_ALL)
endif()

# Build nanomsg
option(NN_STATIC_LIB "Build nanomsg as static library." ON)
Expand Down