mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-06 02:07:35 +08:00
ab60f27567
* [kf5windowsystem] fix cmake.in for static usage; extra fixes - apply https://invent.kde.org/frameworks/kwindowsystem/-/merge_requests/27 patch - fix MAYBE_UNUSED_VARIABLES usage - use semVer - update deprecated functions - wrap paths in quotes - don't overzealously remove folders * [kf5windowsystem] update versions * [kf5windowsystem] fix cmake.in for static usage on Linux * [kf5windowsystem] update versions
32 lines
951 B
Diff
32 lines
951 B
Diff
From 2ee7179c17fd9bd6d8e883ea304cc050cb197834 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Dawid=20Wro=CC=81bel?= <me@dawidwrobel.com>
|
|
Date: Thu, 29 Jul 2021 13:47:28 +0200
|
|
Subject: [PATCH] Support static builds
|
|
|
|
---
|
|
KF5WindowSystemConfig.cmake.in | 8 +++++++-
|
|
1 file changed, 7 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/KF5WindowSystemConfig.cmake.in b/KF5WindowSystemConfig.cmake.in
|
|
index 6c1b4c0..bcb7128 100644
|
|
--- a/KF5WindowSystemConfig.cmake.in
|
|
+++ b/KF5WindowSystemConfig.cmake.in
|
|
@@ -4,7 +4,13 @@ include(CMakeFindDependencyMacro)
|
|
find_dependency(Qt5Gui @REQUIRED_QT_VERSION@)
|
|
|
|
if(NOT @KWINDOWSYSTEM_NO_WIDGETS@)
|
|
-find_dependency(Qt5Widgets @REQUIRED_QT_VERSION@)
|
|
+ find_dependency(Qt5Widgets @REQUIRED_QT_VERSION@)
|
|
+endif()
|
|
+
|
|
+if(NOT @BUILD_SHARED_LIBS@)
|
|
+ if(@WIN32@)
|
|
+ find_dependency(Qt5WinExtras @REQUIRED_QT_VERSION@)
|
|
+ endif()
|
|
endif()
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/KF5WindowSystemTargets.cmake")
|
|
--
|
|
GitLab
|
|
|