[Webkit-unassigned] [Bug 208948] [CMake] The package name passed to `find_package_handle_standard_args` (PerlModules_JSON::PP) does not match the name of the calling package (PerlModules).
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 11 15:35:19 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=208948
--- Comment #3 from Don Olmstead <don.olmstead at sony.com> ---
(In reply to Michael Catanzaro from comment #0)
> We have this warning when building with CMake 3.17.0-rc2:
>
>
> -- Found Perl: /usr/bin/perl (found suitable version "5.30.1", minimum
> required is "5.10.0")
> CMake Warning (dev) at
> /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
> The package name passed to `find_package_handle_standard_args`
> (PerlModules_JSON::PP) does not match the name of the calling package
> (PerlModules). This can lead to problems in calling code that expects
> `find_package` result variables (e.g., `_FOUND`) to follow a certain
> pattern.
> Call Stack (most recent call first):
> Source/cmake/FindPerlModules.cmake:68 (find_package_handle_standard_args)
> Source/cmake/WebKitCommon.cmake:18 (find_package)
> CMakeLists.txt:169 (include)
> This warning is for project developers. Use -Wno-dev to suppress it.
>
> -- Found PerlModules_JSON::PP: TRUE
> -- Found PerlModules: TRUE found components: JSON::PP
I'm going to guess that it wants things like find_package(PerlModules COMPONENTS JSON::PP) in a similar vein how the builtin FindICU and our FindHarfbuzz.cmake works.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200311/3508b555/attachment.htm>
More information about the webkit-unassigned
mailing list