diff --git a/CMakeLists.txt b/CMakeLists.txt index 60e2ec1..b0cd922 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 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)