Disable tests for now
This commit is contained in:
parent
311f2f5e30
commit
add0af2a88
@ -1,5 +1,11 @@
|
||||
%undefine __cmake_in_source_build
|
||||
# Tests are disabled with gcc-11
|
||||
# See https://bugzilla.redhat.com/1944536
|
||||
%if 0%{?fedora} > 33
|
||||
%bcond_with tests
|
||||
%else
|
||||
%bcond_without tests
|
||||
%endif
|
||||
%bcond_with ffmpeg
|
||||
%bcond_without gstreamer
|
||||
%bcond_with eigen2
|
||||
@ -280,6 +286,9 @@ install -pm 0644 %{SOURCE4} .cache/ade/
|
||||
-DWITH_ITT=OFF \
|
||||
-DWITH_QT=ON \
|
||||
-DWITH_OPENGL=ON \
|
||||
%if ! %{with tests}
|
||||
-BUILD_TESTS=OFF \
|
||||
%endif
|
||||
-DOpenGL_GL_PREFERENCE=GLVND \
|
||||
-DWITH_GDAL=ON \
|
||||
-DWITH_OPENEXR=ON \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user