Another fix for the cmake version in EL6.
This commit is contained in:
parent
ef44d4137d
commit
fc9b49eb6c
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue