build: Remove duplicate "REQUIRED"
Packages are already marked as REQUIRED using set_package_properties()
This commit is contained in:
parent
993c4e2d05
commit
569dc29ba4
1 changed files with 3 additions and 3 deletions
|
@ -320,14 +320,14 @@ if (QT_MAJOR_VERSION EQUAL "5")
|
||||||
find_package(Qt5EventDispatcherSupport REQUIRED)
|
find_package(Qt5EventDispatcherSupport REQUIRED)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(Freetype REQUIRED)
|
find_package(Freetype)
|
||||||
set_package_properties(Freetype PROPERTIES
|
set_package_properties(Freetype PROPERTIES
|
||||||
DESCRIPTION "A font rendering engine"
|
DESCRIPTION "A font rendering engine"
|
||||||
URL "https://www.freetype.org"
|
URL "https://www.freetype.org"
|
||||||
TYPE REQUIRED
|
TYPE REQUIRED
|
||||||
PURPOSE "Needed for KWin's QPA plugin."
|
PURPOSE "Needed for KWin's QPA plugin."
|
||||||
)
|
)
|
||||||
find_package(Fontconfig REQUIRED)
|
find_package(Fontconfig)
|
||||||
set_package_properties(Fontconfig PROPERTIES
|
set_package_properties(Fontconfig PROPERTIES
|
||||||
TYPE REQUIRED
|
TYPE REQUIRED
|
||||||
PURPOSE "Needed for KWin's QPA plugin."
|
PURPOSE "Needed for KWin's QPA plugin."
|
||||||
|
@ -409,7 +409,7 @@ if (KWIN_BUILD_NOTIFICATIONS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (KWIN_BUILD_SCREENLOCKER)
|
if (KWIN_BUILD_SCREENLOCKER)
|
||||||
find_package(KScreenLocker CONFIG REQUIRED)
|
find_package(KScreenLocker CONFIG)
|
||||||
set_package_properties(KScreenLocker PROPERTIES
|
set_package_properties(KScreenLocker PROPERTIES
|
||||||
TYPE REQUIRED
|
TYPE REQUIRED
|
||||||
PURPOSE "For screenlocker integration in kwin_wayland"
|
PURPOSE "For screenlocker integration in kwin_wayland"
|
||||||
|
|
Loading…
Reference in a new issue