Skip to content

Commit

Permalink
Add missing backslash
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed Nov 22, 2023
1 parent 0c1e1db commit 72ff478
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ci/scripts/matlab_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ cmake \
-B ${build_dir} \
-G Ninja \
-D CMAKE_INSTALL_PREFIX=${install_dir} \
-D MATLAB_ADD_INSTALL_DIR_TO_SEARCH_PATH=OFF
-D MATLAB_ADD_INSTALL_DIR_TO_SEARCH_PATH=OFF \
-D MATLAB_RELEASE_VERSION=23.2
cmake --build ${build_dir} --config Release --target install
2 changes: 2 additions & 0 deletions matlab/tools/cmake/MatlabConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ macro(MatlabConfigure)
find_package(Matlab REQUIRED)
if (${Matlab_VERSION_STRING} STREQUAL "unknown")
message(STATUS "Matlab_VERSION_STRING is unknown")
message(STATUS "MATLAB_RELEASE_VERSION = {MATLAB_RELEASE_VERSION}")

if (NOT DEFINED MATLAB_RELEASE_VERSION)
# Temporarily require users to supply MATLAB_RELEASE_VERSION if find_package(Matlab)
# fails to derive the version from the root directory. We can probably determine this
Expand Down

0 comments on commit 72ff478

Please sign in to comment.