File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ option(REGENERATE_DOC
3535 "Enable if you want to regenerate doc need kde4"
3636 OFF )
3737
38+ option (MATLAB_CONNECTOR
39+ "Enable if you want to MATLAB connector support (Unimplemented)"
40+ OFF )
41+
3842if (APPLE )
3943 option (APPBUNDLE
4044 "Enable this if you want to produce an .app bundle."
@@ -92,15 +96,18 @@ endif(WITH_CEREBUS)
9296################################################################################
9397# MATLAB SDK config
9498################################################################################
95- find_package (Matlab REQUIRED )
99+ if (MATLAB_CONNECTOR)
100+ find_package (Matlab REQUIRED )
101+
102+ IF (MATLAB_FOUND)
103+ message (STATUS "MATLAB Found, MATLAB MEX will be compiled." )
104+ INCLUDE_DIRECTORIES (${MATLAB_INCLUDE_DIR} )
105+ #add_subdirectory(src)
106+ ELSE (MATLAB_FOUND )
107+ MESSAGE ("MATLAB not found...nothing will be built." )
108+ ENDIF (MATLAB_FOUND )
96109
97- IF (MATLAB_FOUND)
98- message (STATUS "MATLAB Found, MATLAB MEX will be compiled." )
99- INCLUDE_DIRECTORIES (${MATLAB_INCLUDE_DIR} )
100- #add_subdirectory(src)
101- ELSE (MATLAB_FOUND )
102- MESSAGE ("MATLAB not found...nothing will be built." )
103- ENDIF (MATLAB_FOUND )
110+ ENDIF (MATLAB_CONNECTOR )
104111
105112
106113################################################################################
You can’t perform that action at this time.
0 commit comments