Commit ad472449 authored by incardon's avatar incardon

Adding librt on linux

parent ed016fb3
......@@ -51,6 +51,9 @@ target_link_libraries(numerics -L${METIS_ROOT}/lib metis)
# will also build with -std=c++11
target_compile_features(numerics PUBLIC cxx_std_11)
target_link_libraries(numerics ${MPI_C_LIBRARIES})
if (UNIX)
target_link_libraries(numerics rt)
endif (UNIX)
install(FILES Matrix/SparseMatrix.hpp
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