[kf5globalaccel] Fix build on windows when x11 is around (#26564)

This commit is contained in:
Matthias Kuhn 2022-09-01 02:35:30 +02:00 committed by GitHub
parent 6eb35f5af3
commit c0b6d35a67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 2 deletions

View File

@ -9,10 +9,15 @@ vcpkg_from_github(
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
if(NOT VCPKG_TARGET_IS_LINUX)
list(APPEND KGLOBALACCEL_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_X11=ON)
endif()
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
${KGLOBALACCEL_OPTIONS}
)
vcpkg_cmake_install()

View File

@ -1,7 +1,7 @@
{
"name": "kf5globalaccel",
"version": "5.89.0",
"port-version": 1,
"port-version": 2,
"description": "lobal desktop keyboard shortcuts",
"homepage": "https://api.kde.org/frameworks/kglobalaccel/html/index.html",
"dependencies": [

View File

@ -3266,7 +3266,7 @@
},
"kf5globalaccel": {
"baseline": "5.89.0",
"port-version": 1
"port-version": 2
},
"kf5guiaddons": {
"baseline": "5.89.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "610034ef9764b5d45569588235e9a5838ae05757",
"version": "5.89.0",
"port-version": 2
},
{
"git-tree": "5a4dc9bc81874eec1192fa77b8a04ab67fb75239",
"version": "5.89.0",