Problem
If elsa was installed, and in another project elsa was called using find_package(elsa COMPONENTS functionals)
, the dependencies of functionals
(or any other component) was not found.
Solution
Now, all the components create their own elsa_<Component>Config.cmake
file, in which their dependencies are called (by their corresponding elsa_<OtherComponent>Config.cmake
file). Therefore, the InstallElsaModule
function, now takes a new argument, the dependencies of the given component.