diff --git a/graphics/digikam/files/patch-core_CMakeLists.txt b/graphics/digikam/files/patch-core_CMakeLists.txt index 42ed65623cb8..03bbfb53f083 100644 --- a/graphics/digikam/files/patch-core_CMakeLists.txt +++ b/graphics/digikam/files/patch-core_CMakeLists.txt @@ -1,25 +1,33 @@ ---- core/CMakeLists.txt.orig 2020-04-23 11:51:20 UTC +--- core/CMakeLists.txt.orig 2023-03-12 13:19:01 UTC +++ core/CMakeLists.txt @@ -10,6 +10,7 @@ APPLY_COMMON_POLICIES() # ============================================================================== +cmake_policy(SET CMP0063 OLD) # Suppress visibility warnings message(STATUS "----------------------------------------------------------------------------------") message(STATUS "Check dependencies for ${PROJECT_NAME} version ${DIGIKAM_VERSION_STRING}") message(STATUS "") -@@ -341,8 +342,13 @@ endif() +@@ -132,6 +133,7 @@ if(ENABLE_AKONADICONTACTSUPPORT) + + find_package(KF5 ${AKONADI_MIN_VERSION} QUIET + OPTIONAL_COMPONENTS ++ Akonadi # We need to search for Akonadi explicitly so that the KF5::AkonadiCore target is defined after KDE PIM 23.04 + AkonadiContact # For KDE Mail Contacts support. + Contacts # API for contacts/address book data. + ) +@@ -379,8 +381,13 @@ endif() find_package(Doxygen) -if(NOT CMAKE_SYSTEM_NAME STREQUAL FreeBSD) +#if(NOT CMAKE_SYSTEM_NAME STREQUAL FreeBSD) find_package(Lqr-1) +#endif() +if(LQR-1_FOUND) + include_directories(${LQR-1_INCLUDE_DIRS}) + set(liblqr_LIBS ${LQR-1_LIBRARIES}) + link_directories(${LQR-1_LIBDIR}) endif() - # -- libgphoto2 rules ---------------------------------------------------------- + if(BUILD_WITH_CCACHE)