mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-02-27 01:10:03 +00:00
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:
committed by
GitHub
parent
93faa752f5
commit
fe8a011629
@@ -52,7 +52,7 @@ else()
|
||||
if(WIN32)
|
||||
set(pytrellis_lib pytrellis.pyd)
|
||||
else()
|
||||
set(pytrellis_lib pytrellis${CMAKE_SHARED_LIBRARY_SUFFIX})
|
||||
set(pytrellis_lib pytrellis${CMAKE_SHARED_MODULE_SUFFIX})
|
||||
endif()
|
||||
|
||||
find_path(TRELLIS_LIBDIR ${pytrellis_lib}
|
||||
|
||||
Reference in New Issue
Block a user