mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 21:00:01 -05:00
FindMatlab: Add support for MCR distributions without mex.h
Consider `matrix.h` in search for include dirs. Fixes: #26306
This commit is contained in:
committed by
Brad King
parent
cd4782bac3
commit
b426ce1d04
@@ -1832,7 +1832,7 @@ set(_matlab_required_variables)
|
|||||||
# the MEX library/header are required
|
# the MEX library/header are required
|
||||||
find_path(
|
find_path(
|
||||||
Matlab_INCLUDE_DIRS
|
Matlab_INCLUDE_DIRS
|
||||||
NAMES mex.h
|
NAMES mex.h matrix.h
|
||||||
PATHS ${MATLAB_INCLUDE_DIR_TO_LOOK}
|
PATHS ${MATLAB_INCLUDE_DIR_TO_LOOK}
|
||||||
NO_DEFAULT_PATH
|
NO_DEFAULT_PATH
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user