Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 9fcb7472 authored by hhakim's avatar hhakim
Browse files

Fix issue #163 (matlab deprecated API error for complex matrices).

parent 193e9020
No related branches found
No related tags found
No related merge requests found
...@@ -164,6 +164,7 @@ foreach(mex_target ${MEXFILE_TARGET_LIST}) ...@@ -164,6 +164,7 @@ foreach(mex_target ${MEXFILE_TARGET_LIST})
target_compile_definitions(${mex_target} PRIVATE NOMINMAX MATLAB_DEFAULT_RELEASE=R2017b) # it seems necessary for windows while R2017b flag of matlab_add_mex is enough for Unix target_compile_definitions(${mex_target} PRIVATE NOMINMAX MATLAB_DEFAULT_RELEASE=R2017b) # it seems necessary for windows while R2017b flag of matlab_add_mex is enough for Unix
else() else()
target_link_options(${mex_target} PRIVATE ${OpenMP_CXX_LIBRARIES}) # do nothing if BUILD_MULTITHREAD is OFF target_link_options(${mex_target} PRIVATE ${OpenMP_CXX_LIBRARIES}) # do nothing if BUILD_MULTITHREAD is OFF
target_compile_definitions(${mex_target} PRIVATE MATLAB_DEFAULT_RELEASE=R2017b)
endif() endif()
if(BUILD_MULTITHREAD) if(BUILD_MULTITHREAD)
target_compile_definitions(${mex_target} PRIVATE _MUL_OMP_) # cf. ./src/faust_linear_operator/CPU/faust_prod_opt.hpp target_compile_definitions(${mex_target} PRIVATE _MUL_OMP_) # cf. ./src/faust_linear_operator/CPU/faust_prod_opt.hpp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment