trimesh / cascadio

A Python module using OpenCASCADE to convert STEP files to GLB
12 stars 4 forks source link

Add a SYSTEM_OPENCASCADE CMake option for using an external OpenCASCADE #7

Closed musicinmybrain closed 4 months ago

musicinmybrain commented 4 months ago

This works to build an RPM package linked against the system OpenCASCADE libraries in Fedora Linux. It should be useful for other Linux distributions, and for anyone who wants to build a cascadio package that doesn’t bundle OpenCASCADE.

(I am still working on figuring out why the Python extension in my python-cascadio package lacks debugging symbols, implying that the distribution’s compiler flags are not fully respected or something is actively stripping it after it’s built, but I don’t expect that the solution to that will require changes to this PR, and it might not require any upstream changes at all.)