Disable tests for now

This commit is contained in:
Nicolas Chauvet 2021-03-31 15:12:29 +02:00
parent 311f2f5e30
commit add0af2a88

View File

@ -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 \