conan-io / hooks

Official Conan client hooks
MIT License
32 stars 44 forks source link

Missing system frameworks message does not clearly instruct contributors on the required changes #509

Open prince-chrismc opened 11 months ago

prince-chrismc commented 11 months ago
          Feel free to update message hook if you think it's misleading.

Instead of:

post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.

it could be:

post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreServices', therefore 'CoreServices' should be in cpp_info.frameworks if static, but it's missing.

_Originally posted by @SpaceIm in https://github.com/conan-io/conan-center-index/pull/18366#discussion_r1287754442_