Skip to content

Commit

Permalink
[libraw] Add include for select_library_configurations (#6715) (#6742)
Browse files Browse the repository at this point in the history
  • Loading branch information
trylle authored and ras0219-msft committed Jun 10, 2019
1 parent 5b35f44 commit 06d5d39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ports/libraw/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: libraw
Version: 201903
Version: 201903-1
Build-Depends: lcms, jasper
Description: raw image decoder library
6 changes: 4 additions & 2 deletions ports/libraw/findlibraw_debug_fix.patch
Original file line number Diff line number Diff line change
@@ -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
)

Expand All @@ -18,6 +18,8 @@
+ ${PC_LIBRAW_LIBRARY_DIRS}
+ )
+
+INCLUDE(SelectLibraryConfigurations)
+
+select_library_configurations(LibRaw)
+
+FIND_LIBRARY(LibRaw_r_LIBRARY_RELEASE NAMES raw_r
Expand Down

0 comments on commit 06d5d39

Please sign in to comment.