Skip to content
Snippets Groups Projects
Commit 7dc3a9e5 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Create and register library before add_subdirectory()

Otherwise the tests in the subdirectories will not link to
the lib although tests in other modules do.
parent 525b2de8
No related branches found
No related tags found
No related merge requests found
dune_add_library("dunesolvers"
solvers/criterion.cc)
dune_register_package_flags(LIBRARIES dunesolvers)
add_subdirectory("common")
add_subdirectory("iterationsteps")
add_subdirectory("norms")
......@@ -6,11 +11,6 @@ add_subdirectory("solvers")
add_subdirectory("test")
add_subdirectory("transferoperators")
dune_add_library("dunesolvers"
solvers/criterion.cc)
dune_register_package_flags(LIBRARIES)
install(FILES
computeenergy.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/solvers)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment