Skip to content

Commit

Permalink
Set MATLAB_ADDITIONAL_VERSIONS and Matlab_ROOT_DIR in example/CMakeLi…
Browse files Browse the repository at this point in the history
…sts.txt
  • Loading branch information
sgilmore10 committed Nov 21, 2023
1 parent e466774 commit 75310c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ set(CLIENT_PROJECT_NAME example)
project(${CLIENT_PROJECT_NAME} VERSION 0.1.0)


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

# ######################################
# libmexclass FetchContent Configuration
Expand Down
2 changes: 1 addition & 1 deletion libmexclass/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ endfunction()

#set(MATLAB_ADDITIONAL_VERSIONS
# "R2023b=23.2")
set(Matlab_ROOT_DIR "C:/Program Files/MATLAB/R2023b")
#set(Matlab_ROOT_DIR "C:/Program Files/MATLAB/R2023b")
# Find MATLAB.
find_package(Matlab REQUIRED)

Expand Down

0 comments on commit 75310c7

Please sign in to comment.