From 03441bdd6c625e4d688c91d32805e198e3718d19 Mon Sep 17 00:00:00 2001 From: f4exb Date: Sat, 15 Sep 2018 23:55:41 +0000 Subject: [PATCH] Fixed Debian build on Bionic --- plugins/channelrx/daemonsink/CMakeLists.txt | 9 +++++++++ plugins/channeltx/daemonsource/CMakeLists.txt | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/plugins/channelrx/daemonsink/CMakeLists.txt b/plugins/channelrx/daemonsink/CMakeLists.txt index 9b7d04c38..8507daf6c 100644 --- a/plugins/channelrx/daemonsink/CMakeLists.txt +++ b/plugins/channelrx/daemonsink/CMakeLists.txt @@ -2,6 +2,15 @@ project(daemonsink) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") +if (HAS_SSSE3) + message(STATUS "DaemonSink: use SSSE3 SIMD" ) +elseif (HAS_NEON) + message(STATUS "DaemonSink: use Neon SIMD" ) +else() + message(STATUS "DaemonSink: Unsupported architecture") + return() +endif() + set(daemonsink_SOURCES daemonsink.cpp daemonsinkgui.cpp diff --git a/plugins/channeltx/daemonsource/CMakeLists.txt b/plugins/channeltx/daemonsource/CMakeLists.txt index 682f1953a..f8e0522de 100644 --- a/plugins/channeltx/daemonsource/CMakeLists.txt +++ b/plugins/channeltx/daemonsource/CMakeLists.txt @@ -2,6 +2,15 @@ project(daemonsource) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") +if (HAS_SSSE3) + message(STATUS "DaemonSource: use SSSE3 SIMD" ) +elseif (HAS_NEON) + message(STATUS "DaemonSource: use Neon SIMD" ) +else() + message(STATUS "DaemonSource: Unsupported architecture") + return() +endif() + set(daemonsource_SOURCES daemonsource.cpp daemonsourcethread.cpp