diff --git a/cmake.spec b/cmake.spec index 99e14ea..b2fd0c4 100644 --- a/cmake.spec +++ b/cmake.spec @@ -17,7 +17,11 @@ %bcond_without git_test # Set to bcond_with or use --without gui to disable qt4 gui build +%ifnarch riscv64 %bcond_without gui +%else +%bcond_with gui +%endif # Use ncurses for colorful output %bcond_without ncurses