|
|
@ -63,6 +63,19 @@ if(NOT DisableMEX)
|
|
|
|
add_library(srslte_phy_static STATIC ${srslte_srcs})
|
|
|
|
add_library(srslte_phy_static STATIC ${srslte_srcs})
|
|
|
|
endif(NOT DisableMEX)
|
|
|
|
endif(NOT DisableMEX)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
find_package(MKL)
|
|
|
|
|
|
|
|
if(MKL_FOUND)
|
|
|
|
|
|
|
|
include_directories(${MKL_INCLUDE_DIRS})
|
|
|
|
|
|
|
|
link_directories(${MKL_LIBRARY_DIRS})
|
|
|
|
|
|
|
|
else(MKL_FOUND)
|
|
|
|
|
|
|
|
find_package(FFTW3F REQUIRED)
|
|
|
|
|
|
|
|
if(FFTW3F_FOUND)
|
|
|
|
|
|
|
|
include_directories(${FFTW3F_INCLUDE_DIRS})
|
|
|
|
|
|
|
|
link_directories(${FFTW3F_LIBRARY_DIRS})
|
|
|
|
|
|
|
|
endif(FFTW3F_FOUND)
|
|
|
|
|
|
|
|
endif(MKL_FOUND)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(MKL_FOUND)
|
|
|
|
if(MKL_FOUND)
|
|
|
|
if(STATIC_MKL)
|
|
|
|
if(STATIC_MKL)
|
|
|
|
target_link_libraries(srslte_phy ${MKL_STATIC_LIBRARIES})
|
|
|
|
target_link_libraries(srslte_phy ${MKL_STATIC_LIBRARIES})
|
|
|
|