mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-05 14:47:50 -04:00
Remote plugins: add USE_NEON definition for compatibility with cm256cc on ARM64. Fixes issue #720
This commit is contained in:
parent
1d5742d3b9
commit
f155d63580
@ -1,5 +1,10 @@
|
|||||||
project(remotesink)
|
project(remotesink)
|
||||||
|
|
||||||
|
if (ARCHITECTURE_ARM64)
|
||||||
|
message(STATUS "Compiling RemoteSink for ARM64 with USE_NEON definition")
|
||||||
|
add_compile_definitions(USE_NEON)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(remotesink_SOURCES
|
set(remotesink_SOURCES
|
||||||
remotesink.cpp
|
remotesink.cpp
|
||||||
remotesinkbaseband.cpp
|
remotesinkbaseband.cpp
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
project(remotesource)
|
project(remotesource)
|
||||||
|
|
||||||
|
if (ARCHITECTURE_ARM64)
|
||||||
|
message(STATUS "Compiling RemoteSource for ARM64 with USE_NEON definition")
|
||||||
|
add_compile_definitions(USE_NEON)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(remotesource_SOURCES
|
set(remotesource_SOURCES
|
||||||
remotesource.cpp
|
remotesource.cpp
|
||||||
remotesourcebaseband.cpp
|
remotesourcebaseband.cpp
|
||||||
@ -31,7 +36,6 @@ if(NOT SERVER_MODE)
|
|||||||
set(remotesource_SOURCES
|
set(remotesource_SOURCES
|
||||||
${remotesource_SOURCES}
|
${remotesource_SOURCES}
|
||||||
remotesourcegui.cpp
|
remotesourcegui.cpp
|
||||||
|
|
||||||
remotesourcegui.ui
|
remotesourcegui.ui
|
||||||
)
|
)
|
||||||
set(remotesource_HEADERS
|
set(remotesource_HEADERS
|
||||||
@ -59,13 +63,13 @@ if(CM256CC_EXTERNAL)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(${TARGET_NAME}
|
target_link_libraries(${TARGET_NAME}
|
||||||
Qt5::Core
|
Qt5::Core
|
||||||
${TARGET_LIB}
|
${TARGET_LIB}
|
||||||
Qt5::Network
|
Qt5::Network
|
||||||
sdrbase
|
sdrbase
|
||||||
${TARGET_LIB_GUI}
|
${TARGET_LIB_GUI}
|
||||||
swagger
|
swagger
|
||||||
${CM256CC_LIBRARIES}
|
${CM256CC_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})
|
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
project(remoteoutput)
|
project(remoteoutput)
|
||||||
|
|
||||||
|
if (ARCHITECTURE_ARM64)
|
||||||
|
message(STATUS "Compiling RemoteOutput for ARM64 with USE_NEON definition")
|
||||||
|
add_compile_definitions(USE_NEON)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(remoteoutput_SOURCES
|
set(remoteoutput_SOURCES
|
||||||
remoteoutput.cpp
|
remoteoutput.cpp
|
||||||
remoteoutputplugin.cpp
|
remoteoutputplugin.cpp
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
project(remoteinput)
|
project(remoteinput)
|
||||||
|
|
||||||
|
if (ARCHITECTURE_ARM64)
|
||||||
|
message(STATUS "Compiling RemoteInput for ARM64 with USE_NEON definition")
|
||||||
|
add_compile_definitions(USE_NEON)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(remoteinput_SOURCES
|
set(remoteinput_SOURCES
|
||||||
remoteinputbuffer.cpp
|
remoteinputbuffer.cpp
|
||||||
remoteinputudphandler.cpp
|
remoteinputudphandler.cpp
|
||||||
@ -28,7 +33,6 @@ if(NOT SERVER_MODE)
|
|||||||
set(remoteinput_SOURCES
|
set(remoteinput_SOURCES
|
||||||
${remoteinput_SOURCES}
|
${remoteinput_SOURCES}
|
||||||
remoteinputgui.cpp
|
remoteinputgui.cpp
|
||||||
|
|
||||||
remoteinputgui.ui
|
remoteinputgui.ui
|
||||||
)
|
)
|
||||||
set(remoteinput_HEADERS
|
set(remoteinput_HEADERS
|
||||||
@ -56,12 +60,12 @@ if(CM256CC_EXTERNAL)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(${TARGET_NAME}
|
target_link_libraries(${TARGET_NAME}
|
||||||
Qt5::Core
|
Qt5::Core
|
||||||
${TARGET_LIB}
|
${TARGET_LIB}
|
||||||
sdrbase
|
sdrbase
|
||||||
${TARGET_LIB_GUI}
|
${TARGET_LIB_GUI}
|
||||||
swagger
|
swagger
|
||||||
${CM256CC_LIBRARIES}
|
${CM256CC_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})
|
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user