Skip to content

Commit e76339f

Browse files
Add MacOs to resolve cadet paths
1 parent 1e77757 commit e76339f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cadet/cadet.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ def resolve_cadet_paths(
8787
if platform.system() == 'Windows':
8888
dll_path = cadet_root / 'bin' / 'cadet.dll'
8989
dll_debug_path = cadet_root / 'bin' / 'cadet_d.dll'
90+
elif platform.system() == 'Darwin':
91+
dll_path = cadet_root / 'lib' / 'libcadet.dylib'
92+
dll_debug_path = cadet_root / 'lib' / 'libcadet_d.dylib'
9093
else:
9194
dll_path = cadet_root / 'lib' / 'libcadet.so'
9295
dll_debug_path = cadet_root / 'lib' / 'libcadet_d.so'

0 commit comments

Comments
 (0)