Disable (unused) build tests for RPM-based distros

This commit is contained in:
Gunnar Beutner 2015-04-21 15:10:55 +02:00
parent fc6e5610f6
commit 84a02c1d7f
1 changed files with 3 additions and 0 deletions

View File

@ -215,6 +215,9 @@ CMAKE_OPTS="$CMAKE_OPTS -DBOOST_LIBRARYDIR=/usr/lib/boost153 \
-DBUILD_TESTING=FALSE \
-DBoost_NO_BOOST_CMAKE=TRUE"
%endif
%if 0%{?el6} || 0%{?rhel} == 6 || "%{?dist}" == ".el6"
CMAKE_OPTS="$CMAKE_OPTS -DBUILD_TESTING=FALSE"
%endif
%endif
%if "%{_vendor}" != "suse"