Skip to content

Commit

Permalink
Move MATLAB information to BuildMatlabArrowInterface.cmake.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingurney committed Nov 22, 2023
1 parent 78680b8 commit bcc9f20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions matlab/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ else()
set(MATLAB_BUILD_OUTPUT_DIR "${CMAKE_BINARY_DIR}")
endif()

set(MATLAB_ADDITIONAL_VERSIONS "R2023b=23.2")
set(Matlab_ROOT_DIR "C:/Program Files/MATLAB/R2023b")

find_package(Arrow QUIET)
if(NOT Arrow_FOUND)
build_arrow()
Expand Down
2 changes: 2 additions & 0 deletions matlab/tools/cmake/BuildMatlabArrowInterface.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
# Configure libmexclass FetchContent
# ----------------------------------

set(MATLAB_ADDITIONAL_VERSIONS "R2023b=23.2")
set(Matlab_ROOT_DIR "C:/Program Files/MATLAB/R2023b")
message(STATUS "MATLAB_ADDITIONAL_VERSOINS = ${MATLAB_ADDITIONAL_VERSIONS}")
message(STATUS "Matlab_ROOT_DIR = ${Matlab_ROOT_DIR}")
find_package(Matlab REQUIRED COMPONENTS MAIN_PROGRAM)
Expand Down

0 comments on commit bcc9f20

Please sign in to comment.