From 78680b88b8925a25254bef8b966d2f8c84dae08b Mon Sep 17 00:00:00 2001 From: Kevin Gurney Date: Wed, 22 Nov 2023 10:47:23 -0500 Subject: [PATCH] Add find_package call. --- matlab/tools/cmake/BuildMatlabArrowInterface.cmake | 1 + 1 file changed, 1 insertion(+) 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