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

[Release][CMake][Bugfix] Make dune_library_add_sources() work again


dune_library_add_sources() verifies the library name against the
contents of DUNE_ENABLE_ALL_PACKAGES_MODULE_LIBRARIES. I accidentally
broke this by converting dune_enable_all_packages (which defines the
variable) from a macro to a function, which removed the variable from
global scope.

This patch fixes the problem by explicitly exporting the variable to the
parent scope, making it available to dune_library_add_sources() again.

(cherry picked from commit 289d3eb6)
Signed-off-by: default avatarSteffen Müthing <muething@dune-project.org>
parent c732b4d6
Branches
Tags
1 merge request!2512017-05 merge of upstream repository
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment