mirror of
https://github.com/transmission/transmission.git
synced 2026-02-15 07:26:49 +00:00
* Revert "build(cmake): support building with (almost) all system 3rd-party libraries (#7554)"
This reverts commit a89ca4f2c9.
* fixup! refactor: use a map of getters, setters for `session_get` and `session_set` properties (#8024)
fix: capture-by-reference error in session_accessors()
* fix: 'Qt depends on a UTF-8 locale' CI warning
* fix: 'qt.qpa.xcb: could not connect to display' CI error
30 lines
694 B
CMake
30 lines
694 B
CMake
foreach(P create edit remote show)
|
|
add_executable(${TR_NAME}-${P})
|
|
|
|
target_sources(${TR_NAME}-${P}
|
|
PRIVATE
|
|
${P}.cc)
|
|
|
|
target_link_libraries(${TR_NAME}-${P}
|
|
PRIVATE
|
|
${TR_NAME}
|
|
CURL::libcurl
|
|
fmt::fmt-header-only
|
|
libevent::event)
|
|
|
|
tr_win32_app_info(${TR_NAME}-${P}
|
|
"Transmission Utility ('${P}')"
|
|
"${TR_NAME}-${P}"
|
|
"${TR_NAME}-${P}.exe")
|
|
|
|
install(
|
|
TARGETS ${TR_NAME}-${P}
|
|
DESTINATION ${CMAKE_INSTALL_BINDIR})
|
|
|
|
if(INSTALL_DOC)
|
|
install(
|
|
FILES ${TR_NAME}-${P}.1
|
|
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
|
endif()
|
|
endforeach()
|