1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-16 12:45:18 +03:00
aports/testing/fcitx5-kkc/cxx17.patch
2023-09-21 16:23:07 +00:00

14 lines
517 B
Diff

required against new fcitx libs
diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt
index 2327132..8a6f0d8 100644
--- a/gui/CMakeLists.txt
+++ b/gui/CMakeLists.txt
@@ -17,7 +17,7 @@ qt5_wrap_ui(KKC_CONFIG_SRCS dictwidget.ui adddictdialog.ui shortcutwidget.ui add
add_library(fcitx5-kkc-config
MODULE ${KKC_CONFIG_SRCS})
-add_definitions(-DQT_NO_KEYWORDS)
+add_definitions(-DQT_NO_KEYWORDS -std=c++17)
target_include_directories(fcitx5-kkc-config PRIVATE ${PROJECT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR})