Skip to content
Snippets Groups Projects
Commit 0108acf3 authored by Steffen Müthing's avatar Steffen Müthing
Browse files

[CMake] dune_library_add_sources: Add some sanity checks

This patch adds some sanity checks to dune_library_add_sources:

- Make sure that dune_enable_all_packages has been called

- Test whether the library has been declared in the MODULE_LIBRARIES
  argument of dune_enable_all_packages

In case of an error, the macro aborts the CMake run with a fatal error.
parent 7bd85289
No related branches found
No related tags found
No related merge requests found
Loading
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