diff --git a/CMakeLists.txt b/CMakeLists.txt index ae92603..25f0169 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ file(GLOB_RECURSE SOURCES_FILES src/*) add_executable(clippy_terminal ${SOURCES_FILES}) target_include_directories(clippy_terminal PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src) -target_link_libraries(clippy_terminal cppshell rang) +target_link_libraries(clippy_terminal cppshell rang jsoncons) install(TARGETS clippy_terminal DESTINATION bin) @@ -26,3 +26,11 @@ FetchContent_Declare( GIT_TAG origin/master ) FetchContent_MakeAvailable(rang) + +FetchContent_Declare( + jsoncons + GIT_REPOSITORY https://github.com/danielaparker/jsoncons + GIT_TAG origin/master +) +set(JSONCONS_BUILD_TESTS OFF) +FetchContent_MakeAvailable(jsoncons)