2014-07-02 15:04:31 +02:00
|
|
|
Index: digikam-4.1.0/core/CMakeLists.txt
|
|
|
|
===================================================================
|
|
|
|
--- digikam-4.1.0.orig/core/CMakeLists.txt
|
|
|
|
+++ digikam-4.1.0/core/CMakeLists.txt
|
|
|
|
@@ -203,21 +203,23 @@ ENDIF (NOT OpenCV_INCLUDE_DIRS)
|
2013-01-07 10:59:10 +01:00
|
|
|
|
|
|
|
# check the libkdcraw version
|
|
|
|
|
|
|
|
+# Check is done by FindKdcraw.cmake in another way - this way does not seem valid any more
|
|
|
|
+# TODO: find a proper fix
|
|
|
|
SET(KDCRAW_MIN_VERSION "2.2.0")
|
|
|
|
|
|
|
|
-IF (KDCRAW_VERSION)
|
|
|
|
-
|
|
|
|
- MESSAGE(STATUS "libkdcraw: Found version ${KDCRAW_VERSION} (required: ${KDCRAW_MIN_VERSION})")
|
|
|
|
- IF (${KDCRAW_VERSION} VERSION_LESS ${KDCRAW_MIN_VERSION})
|
|
|
|
- SET(KDCRAW_FOUND FALSE)
|
|
|
|
- ENDIF (${KDCRAW_VERSION} VERSION_LESS ${KDCRAW_MIN_VERSION})
|
|
|
|
-
|
|
|
|
-ELSE (KDCRAW_VERSION)
|
|
|
|
-
|
|
|
|
- MESSAGE(WARNING "libkdcraw: Version information not found, your version is probably too old.")
|
|
|
|
- SET(KDCRAW_FOUND FALSE)
|
|
|
|
-
|
|
|
|
-ENDIF (KDCRAW_VERSION)
|
|
|
|
+# IF (KDCRAW_VERSION)
|
|
|
|
+#
|
|
|
|
+# MESSAGE(STATUS "libkdcraw: Found version ${KDCRAW_VERSION} (required: ${KDCRAW_MIN_VERSION})")
|
|
|
|
+# IF (${KDCRAW_VERSION} VERSION_LESS ${KDCRAW_MIN_VERSION})
|
|
|
|
+# SET(KDCRAW_FOUND FALSE)
|
|
|
|
+# ENDIF (${KDCRAW_VERSION} VERSION_LESS ${KDCRAW_MIN_VERSION})
|
|
|
|
+#
|
|
|
|
+# ELSE (KDCRAW_VERSION)
|
|
|
|
+#
|
|
|
|
+# MESSAGE(WARNING "libkdcraw: Version information not found, your version is probably too old.")
|
|
|
|
+# SET(KDCRAW_FOUND FALSE)
|
|
|
|
+#
|
|
|
|
+# ENDIF (KDCRAW_VERSION)
|
|
|
|
|
|
|
|
# LCMS version 1 and 2 library handling
|
|
|
|
# See B.K.O #294105
|
2014-07-02 15:04:31 +02:00
|
|
|
Index: digikam-4.1.0/extra/kipi-plugins/CMakeLists.txt
|
|
|
|
===================================================================
|
|
|
|
--- digikam-4.1.0.orig/extra/kipi-plugins/CMakeLists.txt
|
|
|
|
+++ digikam-4.1.0/extra/kipi-plugins/CMakeLists.txt
|
|
|
|
@@ -139,21 +139,23 @@ FIND_PACKAGE(Kdcraw RE
|
2013-01-07 10:59:10 +01:00
|
|
|
|
|
|
|
# Check the libkdcraw version
|
|
|
|
|
|
|
|
+# Check is done by FindKdcraw.cmake in another way - this way does not seem valid any more
|
|
|
|
+# TODO: find a proper fix
|
|
|
|
SET(KDCRAW_MIN_VERSION "2.2.0")
|
|
|
|
|
|
|
|
-IF (KDCRAW_VERSION)
|
|
|
|
-
|
|
|
|
- MESSAGE(STATUS "libkdcraw: Found version ${KDCRAW_VERSION} (required: ${KDCRAW_MIN_VERSION})")
|
|
|
|
- IF (${KDCRAW_VERSION} VERSION_LESS ${KDCRAW_MIN_VERSION})
|
|
|
|
- SET(KDCRAW_FOUND FALSE)
|
|
|
|
- ENDIF (${KDCRAW_VERSION} VERSION_LESS ${KDCRAW_MIN_VERSION})
|
|
|
|
-
|
|
|
|
-ELSE (KDCRAW_VERSION)
|
|
|
|
-
|
|
|
|
- MESSAGE(WARNING "libkdcraw: Version information not found, your version is probably too old.")
|
|
|
|
- SET(KDCRAW_FOUND FALSE)
|
|
|
|
-
|
|
|
|
-ENDIF (KDCRAW_VERSION)
|
|
|
|
+# IF (KDCRAW_VERSION)
|
|
|
|
+#
|
|
|
|
+# MESSAGE(STATUS "libkdcraw: Found version ${KDCRAW_VERSION} (required: ${KDCRAW_MIN_VERSION})")
|
|
|
|
+# IF (${KDCRAW_VERSION} VERSION_LESS ${KDCRAW_MIN_VERSION})
|
|
|
|
+# SET(KDCRAW_FOUND FALSE)
|
|
|
|
+# ENDIF (${KDCRAW_VERSION} VERSION_LESS ${KDCRAW_MIN_VERSION})
|
|
|
|
+#
|
|
|
|
+# ELSE (KDCRAW_VERSION)
|
|
|
|
+#
|
|
|
|
+# MESSAGE(WARNING "libkdcraw: Version information not found, your version is probably too old.")
|
|
|
|
+# SET(KDCRAW_FOUND FALSE)
|
|
|
|
+#
|
|
|
|
+# ENDIF (KDCRAW_VERSION)
|
|
|
|
|
2013-05-16 15:32:18 +02:00
|
|
|
# Optional dependencies detection required by some plugins
|
2013-02-12 16:36:35 +01:00
|
|
|
MACRO_OPTIONAL_FIND_PACKAGE(EXPAT) # For DNGConverter: XMP SDK need Expat library to compile.
|