summaryrefslogtreecommitdiff
path: root/librime.spec
diff options
context:
space:
mode:
Diffstat (limited to 'librime.spec')
-rw-r--r--librime.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/librime.spec b/librime.spec
index 6e83207..008ad0c 100644
--- a/librime.spec
+++ b/librime.spec
@@ -9,6 +9,7 @@ Source0: https://goppx.com/https://github.com/rime/librime/archive/%{vers
# The following librime lua plugin needs to access the librime internal API.
# Build the librime lua plugin when build the librime package.
Source1: https://goppx.com/https://github.com/hchunhui/librime-lua/archive/refs/heads/master.tar.gz#/librime-lua.tar.gz
+Patch0: fix-plugins-cmakelists.patch
BuildRequires: gcc-c++
BuildRequires: cmake, opencc-devel
@@ -64,7 +65,8 @@ mv librime-lua-master lua
popd
%build
-%cmake -DCMAKE_BUILD_TYPE=Release \
+%cmake -S . -B %{_target_cpu}-openEuler-linux-gnu \
+ -DCMAKE_BUILD_TYPE=Release \
-DBUILD_MERGED_PLUGINS=OFF \
-DENABLE_EXTERNAL_PLUGINS=ON