From e6809b4ada5001cd82d9b1650eea302d3cd54cb4 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Wed, 22 Jun 2016 16:53:14 +0300 Subject: [PATCH] cmake: fixed not linking fftw in srslte_static --- srslte/lib/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/srslte/lib/CMakeLists.txt b/srslte/lib/CMakeLists.txt index b23016b65..0b4c41d64 100644 --- a/srslte/lib/CMakeLists.txt +++ b/srslte/lib/CMakeLists.txt @@ -82,8 +82,14 @@ set_target_properties(srslte PROPERTIES if(MKL_FOUND) target_link_libraries(srslte ${MKL_LIBRARIES}) + if(NOT DisableMEX) + target_link_libraries(srslte_static ${MKL_LIBRARIES}) + endif(NOT DisableMEX) else(MKL_FOUND) target_link_libraries(srslte ${FFTW3F_LIBRARIES}) + if(NOT DisableMEX) + target_link_libraries(srslte_static ${FFTW3F_LIBRARIES}) + endif(NOT DisableMEX) endif(MKL_FOUND) if(RF_FOUND)