mirror of
https://github.com/redstrate/Astra.git
synced 2025-07-04 00:47:45 +00:00
Don't require PkgConfig if we don't need it
This commit is contained in:
parent
67abb8f4de
commit
181219b184
1 changed files with 1 additions and 1 deletions
|
@ -42,13 +42,13 @@ find_package(Qt6 ${QT_MIN_VERSION} REQUIRED COMPONENTS
|
||||||
Concurrent
|
Concurrent
|
||||||
Test)
|
Test)
|
||||||
find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS Kirigami I18n Config CoreAddons Archive)
|
find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS Kirigami I18n Config CoreAddons Archive)
|
||||||
find_package(PkgConfig REQUIRED)
|
|
||||||
find_package(QCoro6 REQUIRED COMPONENTS Core Network Qml)
|
find_package(QCoro6 REQUIRED COMPONENTS Core Network Qml)
|
||||||
qcoro_enable_coroutines()
|
qcoro_enable_coroutines()
|
||||||
|
|
||||||
qt_policy(SET QTP0001 NEW)
|
qt_policy(SET QTP0001 NEW)
|
||||||
|
|
||||||
if (ENABLE_GAMEMODE)
|
if (ENABLE_GAMEMODE)
|
||||||
|
find_package(PkgConfig REQUIRED)
|
||||||
pkg_search_module(GAMEMODE REQUIRED gamemode)
|
pkg_search_module(GAMEMODE REQUIRED gamemode)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue