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