add json lib
This commit is contained in:
parent
d1fbe99800
commit
dbd34e0817
|
@ -8,7 +8,7 @@ file(GLOB_RECURSE SOURCES_FILES src/*)
|
||||||
|
|
||||||
add_executable(clippy_terminal ${SOURCES_FILES})
|
add_executable(clippy_terminal ${SOURCES_FILES})
|
||||||
target_include_directories(clippy_terminal PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
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)
|
install(TARGETS clippy_terminal DESTINATION bin)
|
||||||
|
|
||||||
|
@ -26,3 +26,11 @@ FetchContent_Declare(
|
||||||
GIT_TAG origin/master
|
GIT_TAG origin/master
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(rang)
|
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)
|
||||||
|
|
Loading…
Reference in a new issue