Skip to content

Commit

Permalink
Made changes to OpenCVFindMatlab suggested by SpecLad
Browse files Browse the repository at this point in the history
  • Loading branch information
hbristow committed Sep 14, 2013
1 parent 232f11e commit 224f44a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Expand Up @@ -23,6 +23,7 @@
*.idl text
*.java text
*.js text
*.m text
*.mk text
*.mm text
*.plist text
Expand Down
8 changes: 4 additions & 4 deletions cmake/OpenCVFindMatlab.cmake
Expand Up @@ -15,7 +15,7 @@
# mexwin32, mexwin64, mexglx, mexa64, mexmac,
# mexmaci, mexmaci64, mexsol, mexs64
# MATLAB_ARCH: The installation architecture. It is **usually**
# the MEXEXT with the preceding "mex" removed,
# the MEXEXT with the preceding "mex" removed,
# though it's different for linux distros.
#
# There doesn't appear to be an elegant way to detect all versions of Matlab
Expand Down Expand Up @@ -187,9 +187,9 @@ if (NOT MATLAB_FOUND)
if (MATLAB_ROOT_DIR)
locate_matlab_components(${MATLAB_ROOT_DIR})
endif()
find_package_handle_standard_args(Matlab DEFAULT_MSG
find_package_handle_standard_args(Matlab DEFAULT_MSG
MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS
MATLAB_ROOT_DIR MATLAB_LIBRARIES
MATLAB_LIBRARY_DIRS MATLAB_MEXEXT
MATLAB_ROOT_DIR MATLAB_LIBRARIES
MATLAB_LIBRARY_DIRS MATLAB_MEXEXT
MATLAB_ARCH MATLAB_BIN)
endif()

0 comments on commit 224f44a

Please sign in to comment.