mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-24 11:04:10 -04:00
Audio CAT SISO: find Hamlib and make build conditional to it
This commit is contained in:
@@ -16,7 +16,11 @@ if(ENABLE_IIO AND LIBIIO_FOUND)
|
||||
add_subdirectory(plutosdrmimo)
|
||||
endif()
|
||||
|
||||
add_subdirectory(audiocatsiso)
|
||||
find_package (Hamlib)
|
||||
if(hamlib_FOUND)
|
||||
add_subdirectory(audiocatsiso)
|
||||
endif()
|
||||
|
||||
add_subdirectory(metismiso)
|
||||
add_subdirectory(testmi)
|
||||
add_subdirectory(testmosync)
|
||||
|
||||
@@ -21,6 +21,7 @@ set(audiocatsiso_HEADERS
|
||||
include_directories(
|
||||
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
||||
${CMAKE_SOURCE_DIR}/devices
|
||||
${hamlib_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
if (NOT SERVER_MODE)
|
||||
@@ -54,6 +55,7 @@ target_link_libraries(${TARGET_NAME}
|
||||
sdrbase
|
||||
${TARGET_LIB_GUI}
|
||||
swagger
|
||||
${hamlib_LIBRARIES}
|
||||
)
|
||||
|
||||
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})
|
||||
|
||||
@@ -776,7 +776,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>CAT Device</string>
|
||||
<string>CAT serial device</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user