Commit 362f5173 authored by incardon's avatar incardon

Fixing Numerics for ubuntu

parent 8998b7a7
...@@ -36,11 +36,14 @@ if(PETSC_FOUND) ...@@ -36,11 +36,14 @@ if(PETSC_FOUND)
target_include_directories (numerics PUBLIC ${PETSC_INCLUDES}) target_include_directories (numerics PUBLIC ${PETSC_INCLUDES})
target_link_libraries(numerics ${PETSC_LIBRARIES}) target_link_libraries(numerics ${PETSC_LIBRARIES})
endif() endif()
message("CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC ${SUITESPARSE_LIBRARIES}")
if(SUITESPARSE_FOUND) if(SuiteSparse_FOUND)
target_include_directories (numerics PUBLIC ${SUITESPARSE_INCLUDE_DIRS}) target_include_directories (numerics PUBLIC ${SuiteSparse_INCLUDE_DIRS})
target_link_libraries(numerics ${SUITESPARSE_LIBRARIES}) target_link_libraries(numerics ${SuiteSparse_LIBRARIES})
target_include_directories (numerics PUBLIC ${BLAS_INCLUDE_DIRS})
target_link_libraries(numerics ${BLAS_LIBRARIES})
endif() endif()
target_link_libraries(numerics -L${METIS_ROOT}/lib metis) target_link_libraries(numerics -L${METIS_ROOT}/lib metis)
# Request that particles be built with -std=c++11 # Request that particles be built with -std=c++11
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment