mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 21:59:54 -06: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
|
||||
find_path(
|
||||
Matlab_INCLUDE_DIRS
|
||||
NAMES mex.h
|
||||
NAMES mex.h matrix.h
|
||||
PATHS ${MATLAB_INCLUDE_DIR_TO_LOOK}
|
||||
NO_DEFAULT_PATH
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user