From 806b968a42ff9a560946f4719e65267e4d55235b Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Sat, 6 Dec 2014 16:45:57 +0000 Subject: [PATCH] Add rigctl to WSJT-X package as rigctl-wsjtx The rigctl program is not used directly by WSJT-X but it does contain the same Hamlib code from the Hamlib v3 fork as WSJT-X and rigctld-wsjtx. So it makes sense to distribute it as a testing tool or for any user that needs it to converse with the rigctld-wsjtx server. Merged from wsjtx-1.4 branch. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4775 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6fdc51e20..9c2f6b93d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -608,6 +608,7 @@ if (hamlib_STATIC_LIBRARY) set (hamlib_LIBRARY "${hamlib_STATIC_LIBRARY}") set (hamlib_LIBRARIES "${hamlib_STATIC_LIBRARIES}") endif () +find_program (RIGCTL_EXE rigctl) find_program (RIGCTLD_EXE rigctld) message (STATUS "hamlib_INCLUDE_DIRS: ${hamlib_INCLUDE_DIRS}") @@ -807,6 +808,13 @@ else (WSJT_INCLUDE_KVASD) endif (APPLE) endif (WSJT_INCLUDE_KVASD) +install (PROGRAMS + ${RIGCTL_EXE} + DESTINATION ${WSJT_BIN_DESTINATION} + #COMPONENT runtime + RENAME rigctl-wsjtx${CMAKE_EXECUTABLE_SUFFIX} + ) + install (PROGRAMS ${RIGCTLD_EXE} DESTINATION ${WSJT_BIN_DESTINATION}