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

Richard Shaw hobbes1069 at fedoraproject.org
Fri May 4 19:32:45 UTC 2012


commit 4fc2f74187f5969ca40bcd453eb80ffa39659ef1
Author: Richard M. Shaw <hobbes1069 at gmail.com>
Date:   Fri May 4 14:32:43 2012 -0500

    Another fix for the cmake version in EL6.

 OpenColorIO.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/OpenColorIO.spec b/OpenColorIO.spec
index ce734c0..e53f1cb 100644
--- a/OpenColorIO.spec
+++ b/OpenColorIO.spec
@@ -86,10 +86,12 @@ rm -f ext/lcms*
 rm -f ext/tinyxml*
 rm -f ext/yaml*
 
-# Try building for EPEL w/ cmake 2.6.
+# Deal with 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
+sed -i 's|pkg_check_modules(LCMS QUIET lcms2)|pkg_check_modules(LCMS lcms2)|' \
+    src/apps/ociobakelut/CMakeLists.txt
 %endif
 
 


More information about the scm-commits mailing list