Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

fix: use FindPkgConfig instead of UsePkgConfig in FindLCMS2.cmake

Wang Zichong58bd6ae40e18
diff --git a/cmake/modules/FindLCMS2.cmake b/cmake/modules/FindLCMS2.cmake
index 71b0167521..2fc70ca32a 100644
--- a/cmake/modules/FindLCMS2.cmake
+++ b/cmake/modules/FindLCMS2.cmake
@@ -16,7 +16,7 @@
# SPDX-License-Identifier: BSD-3-Clause
#
-include(UsePkgConfig)
+find_package(PkgConfig QUIET)
pkg_check_modules(LCMS2_PKGCONF QUIET lcms2)
find_path(LCMS2_INCLUDE_DIR