summaryrefslogtreecommitdiffstats
path: root/cmake/FindGTK3.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindGTK3.cmake')
-rw-r--r--cmake/FindGTK3.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindGTK3.cmake b/cmake/FindGTK3.cmake
index e7ac17d258..221d5a34d1 100644
--- a/cmake/FindGTK3.cmake
+++ b/cmake/FindGTK3.cmake
@@ -1,5 +1,5 @@
# 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)
@@ -7,7 +7,7 @@ set(__gtk3_required_version "${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION}")
if(__gtk3_required_version)
set(__gtk3_required_version " >= ${__gtk3_required_version}")
endif()
-pkg_check_modules(GTK3 "gtk+-3.0${__gtk3_required_version}" IMPORTED_TARGET)
+pkg_check_modules(GTK3 IMPORTED_TARGET "gtk+-3.0${__gtk3_required_version}")
if (NOT TARGET PkgConfig::GTK3)
set(GTK3_FOUND 0)