diff --git a/matlab/tools/cmake/BuildMatlabArrowInterface.cmake b/matlab/tools/cmake/BuildMatlabArrowInterface.cmake index af71ec8073bfe..29b5ef390c251 100644 --- a/matlab/tools/cmake/BuildMatlabArrowInterface.cmake +++ b/matlab/tools/cmake/BuildMatlabArrowInterface.cmake @@ -21,6 +21,7 @@ message(STATUS "MATLAB_ADDITIONAL_VERSOINS = ${MATLAB_ADDITIONAL_VERSIONS}") message(STATUS "Matlab_ROOT_DIR = ${Matlab_ROOT_DIR}") +find_package(Matlab REQUIRED COMPONENTS MAIN_PROGRAM) set(MATLAB_ARROW_LIBMEXCLASS_CLIENT_FETCH_CONTENT_NAME libmexclass) # TODO: Consider using SSH URL for the Git Repository when