add yaml require
This commit is contained in:
parent
46c83022c9
commit
1b655704ee
|
@ -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 tmuxub rang jsoncons)
|
||||
target_link_libraries(clippy_terminal PRIVATE cppshell tmuxub rang jsoncons yaml-cpp)
|
||||
|
||||
install(TARGETS clippy_terminal DESTINATION bin)
|
||||
|
||||
|
@ -41,3 +41,10 @@ FetchContent_Declare(
|
|||
GIT_TAG origin/master
|
||||
)
|
||||
FetchContent_MakeAvailable(jsoncons)
|
||||
|
||||
FetchContent_Declare(
|
||||
yaml-cpp
|
||||
GIT_REPOSITORY https://github.com/jbeder/yaml-cpp.git
|
||||
GIT_TAG origin/master
|
||||
)
|
||||
FetchContent_MakeAvailable(yaml-cpp)
|
||||
|
|
Loading…
Reference in a new issue