1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 17:28:50 -05:00

Remote plugins: add USE_NEON definition for compatibility with cm256cc on ARM64. Fixes issue #720

This commit is contained in:
f4exb 2020-11-23 08:34:20 +01:00
parent 1d5742d3b9
commit f155d63580
4 changed files with 29 additions and 11 deletions

View File

@ -1,5 +1,10 @@
project(remotesink)
if (ARCHITECTURE_ARM64)
message(STATUS "Compiling RemoteSink for ARM64 with USE_NEON definition")
add_compile_definitions(USE_NEON)
endif()
set(remotesink_SOURCES
remotesink.cpp
remotesinkbaseband.cpp

View File

@ -1,5 +1,10 @@
project(remotesource)
if (ARCHITECTURE_ARM64)
message(STATUS "Compiling RemoteSource for ARM64 with USE_NEON definition")
add_compile_definitions(USE_NEON)
endif()
set(remotesource_SOURCES
remotesource.cpp
remotesourcebaseband.cpp
@ -31,7 +36,6 @@ if(NOT SERVER_MODE)
set(remotesource_SOURCES
${remotesource_SOURCES}
remotesourcegui.cpp
remotesourcegui.ui
)
set(remotesource_HEADERS
@ -59,13 +63,13 @@ if(CM256CC_EXTERNAL)
endif()
target_link_libraries(${TARGET_NAME}
Qt5::Core
${TARGET_LIB}
Qt5::Network
Qt5::Core
${TARGET_LIB}
Qt5::Network
sdrbase
${TARGET_LIB_GUI}
swagger
${CM256CC_LIBRARIES}
swagger
${CM256CC_LIBRARIES}
)
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})

View File

@ -1,5 +1,10 @@
project(remoteoutput)
if (ARCHITECTURE_ARM64)
message(STATUS "Compiling RemoteOutput for ARM64 with USE_NEON definition")
add_compile_definitions(USE_NEON)
endif()
set(remoteoutput_SOURCES
remoteoutput.cpp
remoteoutputplugin.cpp

View File

@ -1,5 +1,10 @@
project(remoteinput)
if (ARCHITECTURE_ARM64)
message(STATUS "Compiling RemoteInput for ARM64 with USE_NEON definition")
add_compile_definitions(USE_NEON)
endif()
set(remoteinput_SOURCES
remoteinputbuffer.cpp
remoteinputudphandler.cpp
@ -28,7 +33,6 @@ if(NOT SERVER_MODE)
set(remoteinput_SOURCES
${remoteinput_SOURCES}
remoteinputgui.cpp
remoteinputgui.ui
)
set(remoteinput_HEADERS
@ -56,12 +60,12 @@ if(CM256CC_EXTERNAL)
endif()
target_link_libraries(${TARGET_NAME}
Qt5::Core
${TARGET_LIB}
Qt5::Core
${TARGET_LIB}
sdrbase
${TARGET_LIB_GUI}
swagger
${CM256CC_LIBRARIES}
swagger
${CM256CC_LIBRARIES}
)
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})