Jan Engelhardt 2016-10-24 13:38:51 +00:00 committed by Git OBS Bridge
parent 57ced04c78
commit 3276254e0c

View File

@ -41,7 +41,9 @@ BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: inkscape
BuildRequires: libgnutls-devel
%if 0%{?is_opensuse}
BuildRequires: libgsasl-devel
%endif
BuildRequires: libopenssl-devel
BuildRequires: pkg-config
BuildRequires: postfix
@ -113,7 +115,9 @@ cf="%optflags -DVMIME_ALWAYS_GENERATE_7BIT_PARAMETER=1"
export PATH="$PATH:/usr/sbin"
cmake . \
-DVMIME_BUILD_SAMPLES:BOOL=OFF \
%if 0%{?is_opensuse}
-DVMIME_HAVE_SASL_SUPPORT:BOOL=ON \
%endif
-DVMIME_HAVE_TLS_SUPPORT:BOOL=ON \
-DVMIME_BUILD_STATIC_LIBRARY:BOOL=OFF \
-DCMAKE_RELEASE_TYPE:STRING="RelWithDebInfo" \