diff --git a/conan/tools/cmake/cmakedeps/templates/target_configuration.py b/conan/tools/cmake/cmakedeps/templates/target_configuration.py index 74220be083d..21bfa56ff35 100644 --- a/conan/tools/cmake/cmakedeps/templates/target_configuration.py +++ b/conan/tools/cmake/cmakedeps/templates/target_configuration.py @@ -82,6 +82,7 @@ def template(self): endforeach() # We need to add our requirements too + set({{ pkg_name }}_LIBRARIES{{ config_suffix }} "") list(APPEND {{ pkg_name }}_LIBRARIES{{ config_suffix }} {{ deps_targets_names }}) # FIXME: What is the result of this for multi-config? All configs adding themselves to path?