aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2016-11-29 17:48:32 -0800
committerRobert Schumacher <roschuma@microsoft.com>2016-11-29 17:48:32 -0800
commitaf2b0cab4276ab7581595d968dd2470b0cb46fd5 (patch)
treeb764160050c98ffeb69d7c6952afb1dce26d3702
parent6479147c6e548e0436d4859e177d8dcb10249765 (diff)
downloadvcpkg-af2b0cab4276ab7581595d968dd2470b0cb46fd5.tar.gz
vcpkg-af2b0cab4276ab7581595d968dd2470b0cb46fd5.zip
[libraw] Rename Module to Config to increase flexibility of install locations
-rw-r--r--ports/libraw/CONTROL2
-rw-r--r--ports/libraw/portfile.cmake3
2 files changed, 4 insertions, 1 deletions
diff --git a/ports/libraw/CONTROL b/ports/libraw/CONTROL
index dd5c7a5c3..b10e10794 100644
--- a/ports/libraw/CONTROL
+++ b/ports/libraw/CONTROL
@@ -1,4 +1,4 @@
Source: libraw
-Version: 0.17.2-1
+Version: 0.17.2-2
Build-Depends: libjpeg-turbo
Description: raw image decoder library
diff --git a/ports/libraw/portfile.cmake b/ports/libraw/portfile.cmake
index 3ff69a6e0..159251c28 100644
--- a/ports/libraw/portfile.cmake
+++ b/ports/libraw/portfile.cmake
@@ -46,6 +46,9 @@ else()
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/raw.dll ${CURRENT_PACKAGES_DIR}/debug/bin/raw.dll)
endif()
+# Rename cmake module into a config in order to allow more flexible lookup rules
+file(RENAME ${CURRENT_PACKAGES_DIR}/share/libraw/FindLibRaw.cmake ${CURRENT_PACKAGES_DIR}/share/libraw/LibRaw-config.cmake)
+
# Handle copyright
file(COPY ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/libraw)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/libraw/COPYRIGHT ${CURRENT_PACKAGES_DIR}/share/libraw/copyright)