Skip to content
Snippets Groups Projects
Verified Commit 3b353988 authored by Santiago Ospina De Los Ríos's avatar Santiago Ospina De Los Ríos Committed by Santiago Ospina De Los Ríos
Browse files

Use CMake target namespaces

* Add EXPORT_NAME property to add_dune_library
* Link explicitly against Dune::Common
parent 0fd47fe2
No related branches found
No related tags found
1 merge request!221Adapt dune_add_library by specifying EXPORT_NAME
Pipeline #64771 passed
......@@ -63,9 +63,9 @@ if(UG_ENABLE_PARALLEL)
endif()
# define target for duneuggrid
dune_add_library(duneuggrid)
dune_add_library(duneuggrid EXPORT_NAME UGGrid)
target_compile_definitions(duneuggrid PUBLIC ${UG_COMPILE_DEFINITIONS})
target_link_libraries(duneuggrid PUBLIC ${DUNE_LIBS})
target_link_libraries(duneuggrid PUBLIC Dune::Common)
add_dune_mpi_flags(duneuggrid)
check_include_file(sys/time.h HAVE_SYS_TIME_H)
......
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