1
Fork 0
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:
Joshua Goins 2024-04-25 19:50:52 -04:00
parent 67abb8f4de
commit 181219b184

View file

@ -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 ()