Update CMakeLists.txt
I believe Prjtrellis has CMAKE define pytrellis as a shared module, not library. On MacOS, this makes a difference and NextPNR expected ``.dylib`` instead of ``.so``. Things still work on Linux.
This commit is contained in:
parent
93faa752f5
commit
fe8a011629
@ -52,7 +52,7 @@ else()
|
|||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(pytrellis_lib pytrellis.pyd)
|
set(pytrellis_lib pytrellis.pyd)
|
||||||
else()
|
else()
|
||||||
set(pytrellis_lib pytrellis${CMAKE_SHARED_LIBRARY_SUFFIX})
|
set(pytrellis_lib pytrellis${CMAKE_SHARED_MODULE_SUFFIX})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_path(TRELLIS_LIBDIR ${pytrellis_lib}
|
find_path(TRELLIS_LIBDIR ${pytrellis_lib}
|
||||||
|
Loading…
Reference in New Issue
Block a user