Skip to content

Commit

Permalink
refs #10047 Add to cmake option of not building the Matlab interface
Browse files Browse the repository at this point in the history
 by default until matlab interface is fixed.
  • Loading branch information
abuts committed Oct 1, 2014
1 parent beea602 commit 21aeb05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/CMakeLists.txt
Expand Up @@ -22,6 +22,7 @@ if ( NOT COMMONSETUP_DONE )
include ( CommonSetup )
endif ()

option(BUILD_MATLAB_DEPENDENCIES "Build Mantid-Matlab dependencies in the case if the matlab is found" OFF)
###########################################################################
# Look for dependencies - bail out if any necessary ones not found
###########################################################################
Expand Down Expand Up @@ -83,7 +84,7 @@ set ( MANTIDLIBS ${MANTIDLIBS} API )
add_subdirectory (PythonInterface)

find_package ( Matlab )
if( MATLAB_FOUND )
if( MATLAB_FOUND & BUILD_MATLAB_DEPENDENCIES)
add_subdirectory (MatlabAPI)
endif ()

Expand Down

0 comments on commit 21aeb05

Please sign in to comment.