Cosmetic changes.

This commit is contained in:
tastytea 2019-07-26 20:57:24 +02:00
parent 0d18bd10ed
commit a66880c98d
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,7 @@ if (WITH_MAN)
COMMAND ${CMAKE_SOURCE_DIR}/build_manpage.sh
ARGS ${PROJECT_VERSION})
add_custom_target(man ALL DEPENDS "${PROJECT_BINARY_DIR}/${PROJECT_NAME}.1")
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.1
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)

View File

@ -1,5 +1,7 @@
file(GLOB sources_cli *.cpp)
add_executable(${PROJECT_NAME}-cli ${sources_cli})
target_link_libraries(${PROJECT_NAME}-cli ${PROJECT_NAME})
set_target_properties(${PROJECT_NAME}-cli PROPERTIES OUTPUT_NAME ${PROJECT_NAME})
install(TARGETS ${PROJECT_NAME}-cli DESTINATION ${CMAKE_INSTALL_BINDIR})