Another fix for the cmake version in EL6.

This commit is contained in:
Richard M. Shaw 2012-05-04 14:00:22 -05:00
parent 8dd6b90e8f
commit ef44d4137d

View File

@ -88,7 +88,8 @@ rm -f ext/yaml*
# Try building for EPEL w/ cmake 2.6.
%if 0%{?el6}
sed -i 's|cmake_minimum_required(VERSION 2.8)|cmake_minimum_required(VERSION 2.6)|' CMakeLists.txt
sed -i -e 's|cmake_minimum_required(VERSION 2.8)|cmake_minimum_required(VERSION 2.6)|' \
-e '|include(ExternalProject)|d' CMakeLists.txt
%endif