From 4fc2f74187f5969ca40bcd453eb80ffa39659ef1 Mon Sep 17 00:00:00 2001 From: Richard M. Shaw Date: May 04 2012 19:32:43 +0000 Subject: Another fix for the cmake version in EL6. --- 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