Skip to content
Snippets Groups Projects
Commit e9b4c0da authored by Robert K's avatar Robert K
Browse files

[cleanup][cmake] link against libs from previous modules.

parent 774631fc
No related branches found
No related tags found
No related merge requests found
......@@ -24,13 +24,8 @@ endif()
# add mpi flags to compile library
add_dune_mpi_flags( dunealugrid )
# on macOS, we have to explicitly link against the Dune libraries
if(CMAKE_HOST_APPLE)
target_link_libraries(dunealugrid ${DUNE_LIBS})
else()
# at least we have to link against dunecommon
target_link_libraries(dunealugrid dunecommon)
endif()
# link against the Dune libraries
target_link_libraries(dunealugrid ${DUNE_LIBS})
# METIS dependencies
if(METIS_FOUND)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment