No longer need cmake28 for EPEL6

This commit is contained in:
Orion Poplawski 2015-12-13 17:17:23 -07:00
parent 5046e8ca5c
commit 21d7750588

View File

@ -27,11 +27,7 @@ Patch2: vtk-6.1.0-netcdf.patch
URL: http://vtk.org/
%if 0%{?rhel} && (0%{?rhel} <= 6)
BuildRequires: cmake28
%else
BuildRequires: cmake
%endif
BuildRequires: gcc-c++
%{?with_java:BuildRequires: java-devel}
BuildRequires: libX11-devel, libXt-devel, libXext-devel
@ -201,11 +197,7 @@ export JAVA_HOME=/usr/lib/jvm/java
mkdir build
pushd build
%if 0%{?rhel} && (0%{?rhel} <= 6)
%{cmake28} .. \
%else
%{cmake} .. \
%endif
-DBUILD_DOCUMENTATION:BOOL=ON \
-DBUILD_EXAMPLES:BOOL=ON \
-DBUILD_TESTING:BOOL=OFF \