C and C++ dependency

Hello,

I need to enable C++ interop mode for a target to use some headers shared with C++ code. Unfortunately, my code also has a dependency on a different package which depends on some C code.

Enabling C++ interoperability breaks the package I depend on which is very odd.

What should I do in this situation?