Skip to content

Commit 224f44a

Browse files
author
hbristow
committed
Made changes to OpenCVFindMatlab suggested by SpecLad
1 parent 232f11e commit 224f44a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
*.idl text
2424
*.java text
2525
*.js text
26+
*.m text
2627
*.mk text
2728
*.mm text
2829
*.plist text

cmake/OpenCVFindMatlab.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# mexwin32, mexwin64, mexglx, mexa64, mexmac,
1616
# mexmaci, mexmaci64, mexsol, mexs64
1717
# MATLAB_ARCH: The installation architecture. It is **usually**
18-
# the MEXEXT with the preceding "mex" removed,
18+
# the MEXEXT with the preceding "mex" removed,
1919
# though it's different for linux distros.
2020
#
2121
# There doesn't appear to be an elegant way to detect all versions of Matlab
@@ -187,9 +187,9 @@ if (NOT MATLAB_FOUND)
187187
if (MATLAB_ROOT_DIR)
188188
locate_matlab_components(${MATLAB_ROOT_DIR})
189189
endif()
190-
find_package_handle_standard_args(Matlab DEFAULT_MSG
190+
find_package_handle_standard_args(Matlab DEFAULT_MSG
191191
MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS
192-
MATLAB_ROOT_DIR MATLAB_LIBRARIES
193-
MATLAB_LIBRARY_DIRS MATLAB_MEXEXT
192+
MATLAB_ROOT_DIR MATLAB_LIBRARIES
193+
MATLAB_LIBRARY_DIRS MATLAB_MEXEXT
194194
MATLAB_ARCH MATLAB_BIN)
195195
endif()

0 commit comments

Comments
 (0)