Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed Nov 27, 2023
1 parent dc07734 commit 60d4f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmexclass/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ macro(MatlabConfigure)
MATH(EXPR LENGTH "${END_POS} - ${START_POS_ADJUSTED}")
message(STATUS "LENGTH = ${LENGTH}")

string(SUBSTRING ${START_POS_ADJUSTED} ${LENGTH} VERSION_SUBSTRING)
string(SUBSTRING ${VERSION_INFO_TEXT} ${START_POS_ADJUSTED} ${LENGTH} VERSION_SUBSTRING)
message(STATUS "VERSION_SUBSTRING = ${VERSION_SUBSTRING}")

if (NOT DEFINED MATLAB_RELEASE_VERSION)
Expand Down

0 comments on commit 60d4f9d

Please sign in to comment.