In the [libmexclass/example/CMakeLists.txt](https://github.com/mathworks/libmexclass/blob/0b1c37b74dea1cbf590f07f8b4d1aada5a58b4de/example/CMakeLists.txt), the target `LIBMEXCLASS_EXTERNAL_PROJECT_TARGET_NAME` is set to `libmexclass`. Consider renaming this target to disambiguate from the imported libmexclass target.
In the libmexclass/example/CMakeLists.txt, the target
LIBMEXCLASS_EXTERNAL_PROJECT_TARGET_NAMEis set tolibmexclass.Consider renaming this target to disambiguate from the imported libmexclass target.