You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a recipe is migrated to layout(), cpp_info.resdirs is empty by default instead of ["res"]. For most recipe it's fine and a good default, but few recipes now need to set this attribute explicitly.
I propose this hook:
Report an error if cpp_info.resdirs miss existing res or share folder in root package folder. Since conan v1 recipes always populate resdirs, this hook shouldn't break them.
bonus: if a recipe uses layout() (conan v2 recipes only), report an error if cpp_info.resdirs list non-existing folders.
The text was updated successfully, but these errors were encountered:
see conan-io/conan-center-index#15581 & conan-io/conan-center-index#15599 (comment)
When a recipe is migrated to
layout()
,cpp_info.resdirs
is empty by default instead of["res"]
. For most recipe it's fine and a good default, but few recipes now need to set this attribute explicitly.I propose this hook:
cpp_info.resdirs
miss existingres
orshare
folder in root package folder. Since conan v1 recipes always populate resdirs, this hook shouldn't break them.layout()
(conan v2 recipes only), report an error ifcpp_info.resdirs
list non-existing folders.The text was updated successfully, but these errors were encountered: