]> git.pld-linux.org Git - packages/openscad.git/commitdiff
- cmake does not generate all rules (no install) auto/th/openscad-2021.01-1
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 7 Jun 2022 21:00:10 +0000 (23:00 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 7 Jun 2022 21:00:10 +0000 (23:00 +0200)
- enable tests on all archs except x32

openscad.spec

index a23846b3e95f22377586e2065074fbdb1250b721..ded6812561506cdab6e9f2b0f4b891788c9fd0af 100644 (file)
@@ -2,7 +2,7 @@
 # Conditional build:
 %bcond_without tests           # build with tests
 
-%ifnarch %{x8664}
+%ifarch x32
 %undefine      with_tests
 %endif
 Summary:       The Programmers Solid 3D CAD Modeller
@@ -151,15 +151,14 @@ expect some API changes, however many things are already working.
 %{__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
This page took 0.548477 seconds and 4 git commands to generate.