diff --git a/srslte/lib/rf/CMakeLists.txt b/srslte/lib/rf/CMakeLists.txt index 00e4dd6a4..d49ceea1f 100644 --- a/srslte/lib/rf/CMakeLists.txt +++ b/srslte/lib/rf/CMakeLists.txt @@ -33,8 +33,10 @@ if(RF_FOUND) list(APPEND SOURCES_RF rf_blade_imp.c) endif (BLADERF_FOUND) + add_compile_options(-march=native -mfpmath=sse -mno-avx -msse4.1) add_library(srslte_rf SHARED ${SOURCES_RF}) - + + if (UHD_FOUND) target_link_libraries(srslte_rf ${UHD_LIBRARIES}) endif (UHD_FOUND)