From fe8a0116299ca30e32a2ac7dcdb7d122bdd030f5 Mon Sep 17 00:00:00 2001 From: Yehowshua Immanuel Date: Tue, 17 Nov 2020 17:53:46 -0500 Subject: 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. --- ecp5/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecp5/CMakeLists.txt b/ecp5/CMakeLists.txt index ff6b2d20..bc34d51b 100644 --- a/ecp5/CMakeLists.txt +++ b/ecp5/CMakeLists.txt @@ -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} -- cgit v1.2.3