Fixes #7861. LibPoly was not getting linked statically for Windows
builds, even when building a static version of cvc5. This commit fixes
the issue.
set(Poly_LIBRARIES "${DEPS_BASE}/lib/libpicpoly.a")
set(PolyXX_LIBRARIES "${DEPS_BASE}/lib/libpicpolyxx.a")
endif()
-
- if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
- set(Poly_LIBRARIES "${DEPS_BASE}/bin/libpoly${CMAKE_SHARED_LIBRARY_SUFFIX}")
- set(PolyXX_LIBRARIES "${DEPS_BASE}/bin/libpolyxx${CMAKE_SHARED_LIBRARY_SUFFIX}")
- endif()
endif()
set(Poly_FOUND TRUE)