summaryrefslogtreecommitdiffstats
path: root/cmake/FindDirectFB.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindDirectFB.cmake')
-rw-r--r--cmake/FindDirectFB.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindDirectFB.cmake b/cmake/FindDirectFB.cmake
index ea2c53aa25..8c5711f178 100644
--- a/cmake/FindDirectFB.cmake
+++ b/cmake/FindDirectFB.cmake
@@ -1,9 +1,9 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+# SPDX-License-Identifier: BSD-3-Clause
find_package(PkgConfig QUIET)
-pkg_check_modules(DirectFB directfb IMPORTED_TARGET)
+pkg_check_modules(DirectFB IMPORTED_TARGET "directfb")
if (NOT TARGET PkgConfig::DirectFB)
set(DirectFB_FOUND 0)