mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-26 10:43:41 +02:00
cli/CMakeLists.txt: Link with CLI11 and install it's license file.
This commit is contained in:
parent
4a3e7d8fa4
commit
81007003d7
1 changed files with 10 additions and 0 deletions
|
|
@ -34,6 +34,10 @@ endif()
|
|||
|
||||
add_executable( ${PROGRAM_EXE} ${PROGRAM_SOURCE} )
|
||||
|
||||
# Include CLI11
|
||||
include ( ${CMAKE_SOURCE_DIR}/lib/CLI11/CMakeLists.txt )
|
||||
|
||||
target_include_directories( ${PROGRAM_EXE} PRIVATE ${LIBCLI11_INCLUDE} )
|
||||
target_link_libraries( ${PROGRAM_EXE} PUBLIC common )
|
||||
|
||||
# --------------------------------
|
||||
|
|
@ -49,6 +53,12 @@ install(FILES ${PROJECT_LICENSE_FILE}
|
|||
COMPONENT cli
|
||||
RENAME LICENSE.cli)
|
||||
|
||||
install (FILES ${LIBCLI11_LICENSE}
|
||||
DESTINATION ${CMAKE_INSTALL_SHAREDIR}
|
||||
COMPONENT cli
|
||||
RENAME LICENSE.libcli11)
|
||||
|
||||
|
||||
# Documentation
|
||||
|
||||
configure_file( docs/README.md.in ${PROJECT_BINARY_DIR}/README.cli.md @ONLY )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue