2014-11-28 08:47:10 +01:00
|
|
|
Index: digikam-4.5.0/core/CMakeLists.txt
|
|
|
|
===================================================================
|
|
|
|
--- digikam-4.5.0.orig/core/CMakeLists.txt
|
|
|
|
+++ digikam-4.5.0/core/CMakeLists.txt
|
|
|
|
@@ -125,20 +125,6 @@ DETECT_OPENCV(${OPENCV_MIN_VERSION} cor
|
2013-01-07 10:59:10 +01:00
|
|
|
|
2014-11-28 08:47:10 +01:00
|
|
|
set(KDCRAW_MIN_VERSION "2.2.0")
|
2013-01-07 10:59:10 +01:00
|
|
|
|
2014-11-28 08:47:10 +01:00
|
|
|
-if(KDCRAW_VERSION)
|
2013-01-07 10:59:10 +01:00
|
|
|
-
|
2014-11-28 08:47:10 +01:00
|
|
|
- message(STATUS "libkdcraw: Found version ${KDCRAW_VERSION} (required: ${KDCRAW_MIN_VERSION})")
|
|
|
|
- if(${KDCRAW_VERSION} VERSION_LESS ${KDCRAW_MIN_VERSION})
|
|
|
|
- set(KDCRAW_FOUND FALSE)
|
|
|
|
- endif()
|
2013-01-07 10:59:10 +01:00
|
|
|
-
|
2014-11-28 08:47:10 +01:00
|
|
|
-else()
|
2013-01-07 10:59:10 +01:00
|
|
|
-
|
2014-11-28 08:47:10 +01:00
|
|
|
- message(WARNING "libkdcraw: Version information not found, your version is probably too old.")
|
|
|
|
- set(KDCRAW_FOUND FALSE)
|
2013-01-07 10:59:10 +01:00
|
|
|
-
|
2014-11-28 08:47:10 +01:00
|
|
|
-endif()
|
|
|
|
-
|
|
|
|
# -- check the libkgeomap version -----------------------------------------------------------------
|
2013-01-07 10:59:10 +01:00
|
|
|
|
2014-11-28 08:47:10 +01:00
|
|
|
set(KGEOMAP_MIN_VERSION "3.0.0")
|
|
|
|
Index: digikam-4.5.0/extra/kipi-plugins/CMakeLists.txt
|
|
|
|
===================================================================
|
|
|
|
--- digikam-4.5.0.orig/extra/kipi-plugins/CMakeLists.txt
|
|
|
|
+++ digikam-4.5.0/extra/kipi-plugins/CMakeLists.txt
|
|
|
|
@@ -75,20 +75,6 @@ if(KIPI_FOUND)
|
2013-01-07 10:59:10 +01:00
|
|
|
|
2014-11-28 08:47:10 +01:00
|
|
|
set(KDCRAW_MIN_VERSION "2.2.0")
|
2013-01-07 10:59:10 +01:00
|
|
|
|
2014-11-28 08:47:10 +01:00
|
|
|
- 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()
|
2013-01-07 10:59:10 +01:00
|
|
|
-
|
2014-11-28 08:47:10 +01:00
|
|
|
- else()
|
2013-01-07 10:59:10 +01:00
|
|
|
-
|
2014-11-28 08:47:10 +01:00
|
|
|
- message(WARNING "libkdcraw: Version information not found, your version is probably too old.")
|
|
|
|
- set(KDCRAW_FOUND FALSE)
|
2013-01-07 10:59:10 +01:00
|
|
|
-
|
2014-11-28 08:47:10 +01:00
|
|
|
- endif()
|
2013-01-07 10:59:10 +01:00
|
|
|
-
|
2014-11-28 08:47:10 +01:00
|
|
|
# -- Optional dependencies detection required by some plugins -------------------------------------
|
2013-01-07 10:59:10 +01:00
|
|
|
|
2014-11-28 08:47:10 +01:00
|
|
|
MACRO_OPTIONAL_FIND_PACKAGE(EXPAT) # For DNGConverter: XMP SDK need Expat library to compile.
|