[libraw] Add include for select_library_configurations (#6715) (#6742)

This commit is contained in:
Frits Talbot 2019-06-11 01:32:10 +02:00 committed by Robert Schumacher
parent 5b35f447c7
commit 06d5d393b9
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
Source: libraw
Version: 201903
Version: 201903-1
Build-Depends: lcms, jasper
Description: raw image decoder library

View File

@ -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