Skip to content

Commit

Permalink
R2018a compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
goulart-paul committed Apr 5, 2018
1 parent 82f6d37 commit e621a2d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Expand Up @@ -227,7 +227,10 @@ if (MATLAB)
include_directories(${Matlab_INCLUDE_DIRS})

# Pass MATLAB flag to C compiler
add_definitions(-DMATLAB)
# This seems not to be necessary since -DMATLAB is only required when applying
# mex <args> to the main matlab mex file, which is not built via cmake anyway.
# Commented out because it causes problems with pre/post R2018a array handling
# add_definitions(-DMATLAB)

if (UNITTESTS)
# Disable unittests
Expand Down

0 comments on commit e621a2d

Please sign in to comment.