Another fix for the cmake version in EL6.

This commit is contained in:
Richard M. Shaw 2012-05-04 14:16:14 -05:00
parent ef44d4137d
commit fc9b49eb6c
1 changed files with 1 additions and 1 deletions

View File

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