Cosmetic changes.
This commit is contained in:
parent
0d18bd10ed
commit
a66880c98d
|
@ -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)
|
||||
|
|
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue
Block a user