Add cppshell lib
This commit is contained in:
parent
7e7d2aa575
commit
c6d62059ae
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue