aboutsummaryrefslogtreecommitdiff
path: root/ports/libraw/findlibraw_debug_fix.patch
diff options
context:
space:
mode:
authorAybe <aybe@users.noreply.github.com>2018-08-08 21:15:47 +0200
committerAybe <aybe@users.noreply.github.com>2018-08-08 21:15:47 +0200
commit61820777517d669e00fbdeb2368e156b66396b51 (patch)
tree57e0d31ff7b8fc3f85fd3bfe98148ef715149b6c /ports/libraw/findlibraw_debug_fix.patch
parent8cfc78e890b18762f1f5d0aff346c397de2e6d56 (diff)
parent13e19f10ea83985708320542cbf05217b4da9969 (diff)
downloadvcpkg-61820777517d669e00fbdeb2368e156b66396b51.tar.gz
vcpkg-61820777517d669e00fbdeb2368e156b66396b51.zip
Merge branch 'master' into liblzma-uwp
Diffstat (limited to 'ports/libraw/findlibraw_debug_fix.patch')
-rw-r--r--ports/libraw/findlibraw_debug_fix.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/ports/libraw/findlibraw_debug_fix.patch b/ports/libraw/findlibraw_debug_fix.patch
new file mode 100644
index 000000000..a09eca537
--- /dev/null
+++ b/ports/libraw/findlibraw_debug_fix.patch
@@ -0,0 +1,39 @@
+--- 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 @@
+ PATH_SUFFIXES libraw
+ )
+
+-FIND_LIBRARY(LibRaw_LIBRARIES NAMES raw
++FIND_LIBRARY(LibRaw_LIBRARY_RELEASE NAMES raw
+ HINTS
+ ${PC_LIBRAW_LIBDIR}
+ ${PC_LIBRAW_LIBRARY_DIRS}
+ )
+
+-FIND_LIBRARY(LibRaw_r_LIBRARIES NAMES raw_r
++FIND_LIBRARY(LibRaw_LIBRARY_DEBUG NAMES rawd
++ HINTS
++ ${PC_LIBRAW_LIBDIR}
++ ${PC_LIBRAW_LIBRARY_DIRS}
++ )
++
++select_library_configurations(LibRaw)
++
++FIND_LIBRARY(LibRaw_r_LIBRARY_RELEASE NAMES raw_r
+ HINTS
+ ${PC_LIBRAW_R_LIBDIR}
+ ${PC_LIBRAW_R_LIBRARY_DIRS}
+ )
+
++FIND_LIBRARY(LibRaw_r_LIBRARY_DEBUG NAMES raw_rd
++ HINTS
++ ${PC_LIBRAW_R_LIBDIR}
++ ${PC_LIBRAW_R_LIBRARY_DIRS}
++ )
++
++select_library_configurations(LibRaw_r)
++
+ IF(LibRaw_INCLUDE_DIR)
+ FILE(READ ${LibRaw_INCLUDE_DIR}/libraw_version.h _libraw_version_content)
+