[CMake] Check for all required perl modules
https://bugs.webkit.org/show_bug.cgi?id=241648

Patch by Michael Catanzaro <mcatanzaro@redhat.com> on 2022-06-15
Reviewed by Adrian Perez de Castro.

* Source/cmake/WebKitCommon.cmake:

Canonical link: https://commits.webkit.org/251586@main

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@295581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/cmake/WebKitCommon.cmake b/Source/cmake/WebKitCommon.cmake
index 31bb957..c90e54c 100644
--- a/Source/cmake/WebKitCommon.cmake
+++ b/Source/cmake/WebKitCommon.cmake
@@ -180,7 +180,7 @@
 
     # TODO Enforce version requirement for perl
     find_package(Perl 5.10.0 REQUIRED)
-    find_package(PerlModules COMPONENTS JSON::PP REQUIRED)
+    find_package(PerlModules COMPONENTS English FindBin JSON::PP REQUIRED)
 
     # This module looks preferably for version 3 of Python. If not found, version 2 is searched.
     find_package(Python COMPONENTS Interpreter REQUIRED)