On top of modernizing the find module, it should avoid the following warning: -- Checking for module 'atk-bridge-2.0' -- Found atk-bridge-2.0, version 2.34.2 CMake Warning (dev) at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to `find_package_handle_standard_args` (ATK_BRIDGE) does not match the name of the calling package (ATKBridge). 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/FindATKBridge.cmake:47 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) Source/cmake/WebKitFindPackage.cmake:104 (_find_package) Source/cmake/OptionsWPE.cmake:135 (find_package) Source/cmake/WebKitCommon.cmake:58 (include) CMakeLists.txt:173 (include) This warning is for project developers. Use -Wno-dev to suppress it.
Created attachment 409273 [details] Patch
Thanks for the review, Don!
Committed r267399: <https://trac.webkit.org/changeset/267399> All reviewed patches have been landed. Closing bug and clearing flags on attachment 409273 [details].
<rdar://problem/69353421>