Open allo- opened 6 years ago
When building with Pardiso I had to replace
set(LIBIGL_EXTRA_LIBRARIES ${LIBIGL_EXTRA_LIBRARIES} ${CMAKE_SOURCE_DIR}/libpardiso500-MACOS-X86-64.dylib)
with
find_package(BLAS REQUIRED) find_package(LAPACK REQUIRED) find_library(GFORTRAN_LIBRARY NAMES libgfortran.so) set(LIBIGL_EXTRA_LIBRARIES ${LIBIGL_EXTRA_LIBRARIES} ${CMAKE_SOURCE_DIR}/libpardiso600-GNU720-X86-64.so ${BLAS_LIBRARIES} ${GFORTRAN_LIBRARY} ${LAPACK_LIBRARIES}) set(SRCFILES ${SRCFILES} PardisoSolver.cpp) add_definitions(-DUSE_PARDISO)
to be able to build on linux.
When building with Pardiso I had to replace
with
to be able to build on linux.