mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 12:41:38 +08:00
[kf5globalaccel] Fix build on windows when x11 is around (#26564)
This commit is contained in:
parent
6eb35f5af3
commit
c0b6d35a67
@ -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()
|
||||
|
@ -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": [
|
||||
|
@ -3266,7 +3266,7 @@
|
||||
},
|
||||
"kf5globalaccel": {
|
||||
"baseline": "5.89.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"kf5guiaddons": {
|
||||
"baseline": "5.89.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "610034ef9764b5d45569588235e9a5838ae05757",
|
||||
"version": "5.89.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "5a4dc9bc81874eec1192fa77b8a04ab67fb75239",
|
||||
"version": "5.89.0",
|
||||
|
Loading…
Reference in New Issue
Block a user