File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,10 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
2121
2222include ("${FCITX_INSTALL_CMAKECONFIG_DIR} /Fcitx5Utils/Fcitx5CompilerSettings.cmake" )
2323
24- set (SKK_DEFAULT_PATH "/usr/share/skk/SKK-JISYO.L" CACHE STRING "Default path of SKK" )
24+ set (SKK_DEFAULT_PATH "/usr/share/skk/" CACHE STRING "Default path of SKK directory that has SKK-JISYO.L, could start with \$ XDG_DATA_DIRS/" )
25+ if (NOT "${SKK_DEFAULT_PATH} " MATCHES "/$" )
26+ message (FATAL_ERROR "SKK_DEFAULT_PATH must be a directory ending with a slash" )
27+ endif ()
2528
2629include (GNUInstallDirs)
2730
Original file line number Diff line number Diff line change 11type=file,file=$FCITX_CONFIG_DIR/skk/user.dict,mode=readwrite
2- type=file,file=@SKK_DEFAULT_PATH@,mode=readonly
2+ type=file,file=@SKK_DEFAULT_PATH@SKK-JISYO.L ,mode=readonly
You can’t perform that action at this time.
0 commit comments