Skip to content
Snippets Groups Projects
Commit 819714b6 authored by Dominic Kempf's avatar Dominic Kempf Committed by Christoph Grüninger
Browse files

Link all libraries to targets in add_dune_all_flags

The libraries are taken from DUNE_LIBS and from the
global property ALL_PKG_LIBS. This change is necessary
to drop the add_dune_*_flags macros in the future.
parent 5b0bdc28
Branches
Tags
No related merge requests found
......@@ -1157,5 +1157,7 @@ macro(add_dune_all_flags targets)
set_property(TARGET ${target}
APPEND_STRING
PROPERTY COMPILE_FLAGS ${FLAGSTR})
get_property(libs GLOBAL PROPERTY ALL_PKG_LIBS)
target_link_libraries(${target} ${DUNE_LIBS} ${libs})
endforeach()
endmacro(add_dune_all_flags targets)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment