From 06d5d393b962604ae0a0f8fa6cfd1a89d0627e83 Mon Sep 17 00:00:00 2001 From: Frits Talbot Date: Tue, 11 Jun 2019 01:32:10 +0200 Subject: [PATCH] [libraw] Add include for select_library_configurations (#6715) (#6742) --- ports/libraw/CONTROL | 2 +- ports/libraw/findlibraw_debug_fix.patch | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ports/libraw/CONTROL b/ports/libraw/CONTROL index 6b27ce223..1a13a37d9 100644 --- a/ports/libraw/CONTROL +++ b/ports/libraw/CONTROL @@ -1,4 +1,4 @@ Source: libraw -Version: 201903 +Version: 201903-1 Build-Depends: lcms, jasper Description: raw image decoder library diff --git a/ports/libraw/findlibraw_debug_fix.patch b/ports/libraw/findlibraw_debug_fix.patch index a09eca537..294963eb6 100644 --- a/ports/libraw/findlibraw_debug_fix.patch +++ b/ports/libraw/findlibraw_debug_fix.patch @@ -1,6 +1,6 @@ --- a/cmake/modules/FindLibRaw.cmake 2016-11-02 07:09:50.000000000 +0100 -+++ b/cmake/modules/FindLibRaw.cmake 2018-06-02 02:50:10.501142400 +0200 -@@ -31,18 +31,34 @@ ++++ b/cmake/modules/FindLibRaw.cmake 2019-06-03 22:05:28.759307500 +0200 +@@ -31,18 +31,36 @@ PATH_SUFFIXES libraw ) @@ -18,6 +18,8 @@ + ${PC_LIBRAW_LIBRARY_DIRS} + ) + ++INCLUDE(SelectLibraryConfigurations) ++ +select_library_configurations(LibRaw) + +FIND_LIBRARY(LibRaw_r_LIBRARY_RELEASE NAMES raw_r