Skip to content

Commit

Permalink
xdg: Add CMake module dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
plfiorini committed Jan 16, 2024
1 parent de67cdc commit 57b6bf7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion features.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
include(FeatureSummary)

## Find Qt:
find_package(Qt6
set(QT_MIN_VERSION "6.6.0")
find_package(Qt6 "${QT_MIN_VERSION}"
REQUIRED
COMPONENTS
Core
Expand Down
9 changes: 9 additions & 0 deletions src/xdg/Liri1XdgDependencies.cmake.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# SPDX-FileCopyrightText: 2024 Pier Luigi Fiorini <[email protected]>
# SPDX-License-Identifier: BSD-3-Clause

include(CMakeFindDependencyMacro)

find_dependency(Qt6Core "@QT_MIN_VERSION@" REQUIRED)
find_dependency(Qt6CoreCompat "@QT_MIN_VERSION@" REQUIRED)
find_dependency(Qt6DBus "@QT_MIN_VERSION@" REQUIRED)
find_dependency(Qt6Xml "@QT_MIN_VERSION@" REQUIRED)

0 comments on commit 57b6bf7

Please sign in to comment.