File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,6 @@ set(MATLAB_ADDITIONAL_VERSIONS "R2023b=23.2")
135
135
set (Matlab_ROOT_DIR "C:/Program Files/MATLAB/R2023b" )
136
136
message (STATUS "MATLAB_ADDITIONAL_VERSOINS = ${MATLAB_ADDITIONAL_VERSIONS} " )
137
137
message (STATUS "Matlab_ROOT_DIR = ${Matlab_ROOT_DIR} " )
138
- message (STATUS "Test" )
139
138
find_package (Matlab REQUIRED)
140
139
141
140
# ARROW_SHARED_LIB
Original file line number Diff line number Diff line change @@ -42,14 +42,17 @@ function print_find_matlab_variables()
42
42
endfunction ()
43
43
44
44
function (set_matlab_variables)
45
- set (MATLAB)
45
+ string (FIND "${MATLAB_ADDITIONAL_VERSIONS} " "=" equal_char_pos)
46
+ message (STATUS "equal_char_pos = ${equal_char_pos} " )
47
+
46
48
endfunction ()
47
49
48
50
set (MATLAB_ADDITIONAL_VERSIONS "R2023b=23.2" )
49
51
set (Matlab_ROOT_DIR "C:/Program Files/MATLAB/R2023b" )
50
52
message (STATUS "MATLAB_ADDITIONAL_VERSOINS = ${MATLAB_ADDITIONAL_VERSIONS} " )
51
53
message (STATUS "Matlab_ROOT_DIR = ${Matlab_ROOT_DIR} " )
52
54
find_package (Matlab REQUIRED)
55
+ set_matlab_variables()
53
56
54
57
message (STATUS "MATLAB_ADDITIONAL_VERSOINS = ${MATLAB_ADDITIONAL_VERSIONS} " )
55
58
message (STATUS "Matlab_ROOT_DIR = ${Matlab_ROOT_DIR} " )
You can’t perform that action at this time.
0 commit comments