-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(x11/fcitx5-qt): Replace workaround for qt plugin path with cmak…
…e option %ci:no-build
- Loading branch information
Showing
2 changed files
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
x11-packages/fcitx5-qt/qt6-platforminputcontext-CMakeLists.txt.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Allow setting CMAKE_INSTALL_QT6PLUGINDIR option from cmake command | ||
|
||
--- a/qt6/platforminputcontext/CMakeLists.txt | ||
+++ b/qt6/platforminputcontext/CMakeLists.txt | ||
@@ -74,5 +74,7 @@ | ||
else() | ||
message(FATAL_ERROR "QMake Qt6 call failed: ${return_code}") | ||
endif() | ||
+if(NOT CMAKE_INSTALL_QT6PLUGINDIR) | ||
set(CMAKE_INSTALL_QT6PLUGINDIR ${_QT6PLUGINDIR} CACHE PATH "Qt6 plugin dir") | ||
+endif() | ||
install(TARGETS fcitx5platforminputcontextplugin-qt6 DESTINATION ${CMAKE_INSTALL_QT6PLUGINDIR}/platforminputcontexts) |