Mentions légales du service

Skip to content
Snippets Groups Projects
Commit c07b4ca1 authored by Adrien Leman's avatar Adrien Leman Committed by hhakim
Browse files

debug find matlab OSX

parent 4ef8f91b
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ endif()
if( ${MATLAB_DIR_TMP} MATCHES "matlab")
if(UNIX)
# string(REGEX REPLACE "([a-zA-Z0-9_/:]+)/bin/matlab" "\\1" MATLAB_ROOT "${MATLAB_DIR_TMP}")
string(REGEX REPLACE "([a-zA-Z0-9_/:.-]+)/bin/matlab" "\\1" MATLAB_ROOT "${MATLAB_DIR_TMP}") # sous mac on a un point ds le path .app
string(REGEX REPLACE "([a-zA-Z0-9_/:.]+)/bin/matlab" "\\1" MATLAB_ROOT "${MATLAB_DIR_TMP}") # sous mac on a un point ds le path .app
elseif(WIN32)
string(REGEX REPLACE "([a-zA-Z0-9_\\:.]+)\\\\bin\\\\matlab.exe" "\\1" MATLAB_ROOT "${MATLAB_DIR_TMP}")
else()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment