From 5bd3bd98f0014a9a3c2c3e79c2d48f5263bc7fe1 Mon Sep 17 00:00:00 2001 From: Sarah Gilmore Date: Wed, 22 Nov 2023 15:54:20 -0500 Subject: [PATCH] Test if PARENT_SCOPE is needed --- matlab/tools/cmake/BuildMatlabArrowInterface.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/tools/cmake/BuildMatlabArrowInterface.cmake b/matlab/tools/cmake/BuildMatlabArrowInterface.cmake index 6322194acfe25..bc58f53e8e058 100644 --- a/matlab/tools/cmake/BuildMatlabArrowInterface.cmake +++ b/matlab/tools/cmake/BuildMatlabArrowInterface.cmake @@ -51,7 +51,7 @@ function(set_matlab_variables) message(FATAL_ERROR "Unknown MATLAB Release") endif() - set(Matlab_VERSION_STRING "${matlab_release_version}" PARENT_SCOPE) + set(Matlab_VERSION_STRING "${matlab_release_version}") set(Matlab_ENGINE_LIBRARY "${Matlab_ROOT_DIR}/extern/lib/win64/microsoft/libMatlabEngine.lib" PARENT_SCOPE) set(Matlab_DATAARRAY_LIBRARY "${Matlab_ROOT_DIR}/extern/lib/win64/microsoft/libMatlabDataArray.lib" PARENT_SCOPE) set(Matlab_MEX_LIBRARY "${Matlab_ROOT_DIR}/extern/lib/win64/microsoft/libmex.lib" PARENT_SCOPE)