[Webkit-unassigned] [Bug 216773] New: [CMake] Use imported targets in find module for the ATK SPI2 bridge dependency

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 21 04:27:34 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=216773

            Bug ID: 216773
           Summary: [CMake] Use imported targets in find module for the
                    ATK SPI2 bridge dependency
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com

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.

-- 
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/20200921/eed68b37/attachment-0001.htm>


More information about the webkit-unassigned mailing list