From cac7c3630a086bd5ba41413af44c833cef189c09 Mon Sep 17 00:00:00 2001 From: Sarah Gilmore <74676073+sgilmore10@users.noreply.github.com> Date: Tue, 12 Nov 2024 15:41:41 -0500 Subject: [PATCH] Closes #92: `libmexclass_client_add_proxy_library` should link the client proxy library against the `libmex` shared library (#93) --- libmexclass/cpp/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libmexclass/cpp/CMakeLists.txt b/libmexclass/cpp/CMakeLists.txt index d97fc99..a4cd005 100644 --- a/libmexclass/cpp/CMakeLists.txt +++ b/libmexclass/cpp/CMakeLists.txt @@ -208,6 +208,9 @@ macro(libmexclass_client_add_proxy_library) target_link_libraries(${LIBMEXCLASS_CLIENT_PROXY_LIBRARY_NAME} PRIVATE mexclass) # Link against MATLAB Data Array shared library. target_link_libraries(${LIBMEXCLASS_CLIENT_PROXY_LIBRARY_NAME} PRIVATE ${Matlab_DATAARRAY_LIBRARY}) + # Link against MEX shared library. + target_link_libraries(${LIBMEXCLASS_CLIENT_PROXY_LIBRARY_NAME} PRIVATE ${Matlab_MEX_LIBRARY}) + define_property( TARGET