diff --git a/matlab/tools/cmake/BuildMatlabArrowInterface.cmake b/matlab/tools/cmake/BuildMatlabArrowInterface.cmake index 7f2c6ed57e40b..34b88ed2fe849 100644 --- a/matlab/tools/cmake/BuildMatlabArrowInterface.cmake +++ b/matlab/tools/cmake/BuildMatlabArrowInterface.cmake @@ -57,15 +57,15 @@ function(set_matlab_variables) endif() set(Matlab_VERSION_STRING "${matlab_release_version}" PARENT_SCOPE) - 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) + 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) set(Matlab_HAS_CPP_API 1 PARENT_SCOPE) - set(Matlab_MX_LIBRARY "{Matlab_ROOT_DIR}/extern/lib/win64/microsoft/libmex.lib" PARENT_SCOPE) - set(Matlab_EXTERN_LIBRARY_DIR "{Matlab_ROOT_DIR}/extern/lib/win64" PARENT_SCOPE) - set(Matlab_INCLUDE_DIRS "{Matlab_ROOT_DIR}/extern/include" PARENT_SCOPE) - set(Matlab_BINARIES_DIR "{Matlab_ROOT_DIR}/bin/win64" PARENT_SCOPE) - set(Matlab_EXTERN_BINARIES_DIR "{Matlab_ROOT_DIR}/extern/bin/win64" PARENT_SCOPE) + set(Matlab_MX_LIBRARY "${Matlab_ROOT_DIR}/extern/lib/win64/microsoft/libmex.lib" PARENT_SCOPE) + set(Matlab_EXTERN_LIBRARY_DIR "${Matlab_ROOT_DIR}/extern/lib/win64" PARENT_SCOPE) + set(Matlab_INCLUDE_DIRS "${Matlab_ROOT_DIR}/extern/include" PARENT_SCOPE) + set(Matlab_BINARIES_DIR "${Matlab_ROOT_DIR}/bin/win64" PARENT_SCOPE) + set(Matlab_EXTERN_BINARIES_DIR "${Matlab_ROOT_DIR}/extern/bin/win64" PARENT_SCOPE) endfunction() set(MATLAB_ADDITIONAL_VERSIONS "R2023b=23.2")