Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a648f729 authored by Nicolas Bellot's avatar Nicolas Bellot Committed by hhakim
Browse files

modif FAUST_USE_MEX

parent c453e734
Branches
Tags
No related merge requests found
...@@ -368,6 +368,7 @@ endif(FAUST_USE_OPENBLAS) ...@@ -368,6 +368,7 @@ endif(FAUST_USE_OPENBLAS)
###### test if executable matlab is in the path ###### ###### test if executable matlab is in the path ######
if (FAUST_USE_MEX)
if(UNIX) if(UNIX)
#message(STATUS "MATLAB_DIR_TMP 1 = ${MATLAB_DIR_TMP}") #message(STATUS "MATLAB_DIR_TMP 1 = ${MATLAB_DIR_TMP}")
exec_program("which matlab | xargs echo" OUTPUT_VARIABLE MATLAB_DIR_TMP) exec_program("which matlab | xargs echo" OUTPUT_VARIABLE MATLAB_DIR_TMP)
...@@ -432,6 +433,7 @@ else() ...@@ -432,6 +433,7 @@ else()
set(MATLAB_ROOT "" CACHE PATH "Matlab root directory") set(MATLAB_ROOT "" CACHE PATH "Matlab root directory")
message(WARNING "Matlab executable seems not to be in the path. So \"MATLAB_ROOT\" and \"MATLAB_INCLUDE_DIR\" wont'be defined and mex files won't be compiled. if matlab is installed on your computer, please add matlabroot/bin tu the PATH and try again.") message(WARNING "Matlab executable seems not to be in the path. So \"MATLAB_ROOT\" and \"MATLAB_INCLUDE_DIR\" wont'be defined and mex files won't be compiled. if matlab is installed on your computer, please add matlabroot/bin tu the PATH and try again.")
endif() endif()
endif(FAUST_USE_MEX)
################################################################## ##################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment