1
0
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:
Yehowshua Immanuel
2020-11-17 17:53:46 -05:00
committed by GitHub
parent 93faa752f5
commit fe8a011629

View File

@@ -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}