Bug description
On macOS, memilio-simulation can build/install successfully, but importing memilio.simulation may fail at runtime because the generated Python extension cannot locate libmemilio.dylib.
The issue is caused by incorrect runtime library search path handling for macOS in the CMakelist. It ends up with Linux-style path expectations instead of the correct macOS relative paths.
Version
Mac
To reproduce
pip install .
python -c "import memilio.simulation"
Relevant log output
Add any relevant information, e.g. used compiler, screenshots.
Checklist
Bug description
On macOS, memilio-simulation can build/install successfully, but importing memilio.simulation may fail at runtime because the generated Python extension cannot locate libmemilio.dylib.
The issue is caused by incorrect runtime library search path handling for macOS in the CMakelist. It ends up with Linux-style path expectations instead of the correct macOS relative paths.
Version
Mac
To reproduce
Relevant log output
Add any relevant information, e.g. used compiler, screenshots.
Checklist