diff --git a/CMakeLists.txt b/CMakeLists.txt index 9fec854..1f095a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,5 +8,14 @@ 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) install(TARGETS clippy_terminal DESTINATION bin) + +include(FetchContent) +FetchContent_Declare( + cppshell + GIT_REPOSITORY https://gitlab.com/Onyad/cppshell + GIT_TAG origin/main +) +FetchContent_MakeAvailable(cppshell)