749555
diff -up digikam-1.8.0/CMakeLists.txt.libjpeg_version digikam-1.8.0/CMakeLists.txt
749555
--- digikam-1.8.0/CMakeLists.txt.libjpeg_version	2011-01-23 13:33:57.000000000 -0600
749555
+++ digikam-1.8.0/CMakeLists.txt	2011-02-03 13:37:16.546888612 -0600
749555
@@ -151,17 +151,8 @@ ELSE(NOT APPLE)
749555
     SET(CLAPACK_FOUND FALSE)
749555
 ENDIF(NOT APPLE)
749555
 
749555
-# Extract version of libjpeg so that we can use the appropriate dir
749555
-# See bug #227313, #228483
749555
-FILE(READ "${JPEG_INCLUDE_DIR}/jpeglib.h" jpeglib_h_content)
749555
-STRING(REGEX REPLACE ".*#define +JPEG_LIB_VERSION +([0-9]+).*" "\\1" jpeglib_version "${jpeglib_h_content}")
749555
-MESSAGE(STATUS "Identified libjpeg version: ${jpeglib_version}")
749555
-
749555
-IF ("${jpeglib_version}" LESS 80)
749555
-    SET(DIGIKAM_LIBJPEG_DIR libjpeg-62)
749555
-ELSE ("${jpeglib_version}" LESS 80)
749555
-    SET(DIGIKAM_LIBJPEG_DIR libjpeg-80)
749555
-ENDIF ("${jpeglib_version}" LESS 80)
749555
+# hardcode libjpeg version to 62
749555
+SET(DIGIKAM_LIBJPEG_DIR libjpeg-62)
749555
 
749555
 # Check KDcraw version installed to compile fine.
749555
 IF(NOT WIN32)