1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-30 19:46:56 +00:00
transmission/cli/CMakeLists.txt

26 lines
512 B
Text
Raw Normal View History

add_executable(${TR_NAME}-cli)
target_sources(${TR_NAME}-cli
PRIVATE
cli.cc)
target_link_libraries(${TR_NAME}-cli
PRIVATE
${TR_NAME}
fmt::fmt-header-only)
tr_win32_app_info(${TR_NAME}-cli
"Transmission Utility ('cli', obsolete)"
"${TR_NAME}-cli"
"${TR_NAME}-cli.exe")
install(
TARGETS ${TR_NAME}-cli
DESTINATION ${CMAKE_INSTALL_BINDIR})
if(INSTALL_DOC)
install(
FILES ${TR_NAME}-cli.1
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
endif()