File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,6 @@ jobs:
149149 ldd ../bin/mcx
150150 elif [[ "$RUNNER_OS" == "macOS" ]]; then
151151 mkdir build && cd build && cmake .. && make
152- make BACKEND=cudastatic
153152 otool -L ../bin/mcx
154153 else
155154 make static
Original file line number Diff line number Diff line change @@ -148,14 +148,14 @@ if(BUILD_MEX AND Matlab_FOUND)
148148 matlab_add_mex(
149149 NAME mcxlab
150150 SRC mcxlab.cpp
151- LINK_TO mcx-matlab
151+ LINK_TO OpenMP::OpenMP_CXX mcx-matlab
152152 )
153153 else ()
154154 matlab_add_mex(
155155 NAME mcxlab
156156 SRC mcxlab.cpp
157157 NO_IMPLICIT_LINK_TO_MATLAB_LIBRARIES
158- LINK_TO ${Matlab_MEX_LIBRARY} ${Matlab_MX_LIBRARY} mcx-matlab
158+ LINK_TO ${Matlab_MEX_LIBRARY} ${Matlab_MX_LIBRARY} OpenMP::OpenMP_CXX mcx-matlab
159159 )
160160 endif ()
161161
You can’t perform that action at this time.
0 commit comments