aseprite/cmake
Thorbjørn Lindeijer fae42dbe12 CMake: Use find_package(PkgConfig) instead of direct include
This gets rid of the following warning:

```
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:441 (message):
  The package name passed to `find_package_handle_standard_args` (PkgConfig)
  does not match the name of the calling package (HarfBuzz).  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):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:114 (find_package_handle_standard_args)
  aseprite/cmake/FindHarfBuzz.cmake:33 (include)
  CMakeLists.txt:173 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
```

By applying the following change:
407fa892d9

The file could use further updates based on the upstream version.
2025-09-12 11:18:52 -03:00
..
FindBenchmarks.cmake Add some simple benchmarks for color blending functions 2017-07-18 17:03:12 -03:00
FindCCache.cmake Add CCache discovery to CMake 2021-04-15 11:51:42 +02:00
FindHarfBuzz.cmake CMake: Use find_package(PkgConfig) instead of direct include 2025-09-12 11:18:52 -03:00
FindJpegTurbo.cmake Replace jpeglib with libjpeg-turbo 2024-04-23 11:33:55 -03:00
FindTests.cmake Rename src/tests/test.h -> src/tests/app_test.h to avoid confusion with observable tests/test.h 2021-12-23 21:38:17 -03:00