[OpenColorIO/el6] Another fix for the cmake version in EL6.

Richard Shaw hobbes1069 at fedoraproject.org
Fri May 4 19:00:24 UTC 2012


commit ef44d4137dc6b8dcd8666b46c10e308acefd1ca3
Author: Richard M. Shaw <hobbes1069 at gmail.com>
Date:   Fri May 4 14:00:22 2012 -0500

    Another fix for the cmake version in EL6.

 OpenColorIO.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/OpenColorIO.spec b/OpenColorIO.spec
index 602ab3a..64c64b7 100644
--- a/OpenColorIO.spec
+++ b/OpenColorIO.spec
@@ -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
 
 


More information about the scm-commits mailing list