cmake: fixed not linking fftw in srslte_static

master
Ismael Gomez 9 years ago
parent 3949d2ed46
commit e6809b4ada

@ -82,8 +82,14 @@ set_target_properties(srslte PROPERTIES
if(MKL_FOUND) if(MKL_FOUND)
target_link_libraries(srslte ${MKL_LIBRARIES}) target_link_libraries(srslte ${MKL_LIBRARIES})
if(NOT DisableMEX)
target_link_libraries(srslte_static ${MKL_LIBRARIES})
endif(NOT DisableMEX)
else(MKL_FOUND) else(MKL_FOUND)
target_link_libraries(srslte ${FFTW3F_LIBRARIES}) target_link_libraries(srslte ${FFTW3F_LIBRARIES})
if(NOT DisableMEX)
target_link_libraries(srslte_static ${FFTW3F_LIBRARIES})
endif(NOT DisableMEX)
endif(MKL_FOUND) endif(MKL_FOUND)
if(RF_FOUND) if(RF_FOUND)

Loading…
Cancel
Save