FindMatlab: Use pre-built libraries for MinGW if needed
This commit is contained in:
parent
f99df80794
commit
8ba204a696
|
@ -1287,7 +1287,11 @@ set(Matlab_EXTERN_LIBRARY_DIR
|
||||||
${Matlab_ROOT_DIR}/extern/lib/${_matlab_bin_prefix}${_matlab_current_suffix})
|
${Matlab_ROOT_DIR}/extern/lib/${_matlab_bin_prefix}${_matlab_current_suffix})
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(_matlab_lib_dir_for_search ${Matlab_EXTERN_LIBRARY_DIR}/microsoft)
|
if(MINGW)
|
||||||
|
set(_matlab_lib_dir_for_search ${Matlab_EXTERN_LIBRARY_DIR}/mingw64)
|
||||||
|
else()
|
||||||
|
set(_matlab_lib_dir_for_search ${Matlab_EXTERN_LIBRARY_DIR}/microsoft)
|
||||||
|
endif()
|
||||||
set(_matlab_lib_prefix_for_search "lib")
|
set(_matlab_lib_prefix_for_search "lib")
|
||||||
else()
|
else()
|
||||||
set(_matlab_lib_dir_for_search ${Matlab_BINARIES_DIR})
|
set(_matlab_lib_dir_for_search ${Matlab_BINARIES_DIR})
|
||||||
|
|
Loading…
Reference in New Issue