- enable tests on all archs except x32
# Conditional build:
%bcond_without tests # build with tests
-%ifnarch %{x8664}
+%ifarch x32
%undefine with_tests
%endif
Summary: The Programmers Solid 3D CAD Modeller
%{__rm} -r src/ext/polyclipping
%build
-mkdir -p build
-cd build
-%cmake ../ \
- -DEXPERIMENTAL=ON
+qmake-qt5 \
+ PREFIX=%{_prefix} \
+ CONFIG+=experimental
%{__make}
%if %{with tests}
export OPENSCAD_BINARY=$(pwd)/openscad
-cd ../tests
+cd tests
%cmake .
%{__make}
%{__make} -j1 test