aboutsummaryrefslogtreecommitdiff
path: root/ports/freeimage
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-01-07 05:15:20 +0800
committerdan-shaw <51385773+dan-shaw@users.noreply.github.com>2020-01-06 13:15:20 -0800
commitf21872a1f6de75e76558126225859101a1bb022c (patch)
treedc219fc1dbaa12d5118f8370ec591ee81fff9ae9 /ports/freeimage
parentfb2006edf9b2b7338263abc629d59441b5da32d1 (diff)
downloadvcpkg-f21872a1f6de75e76558126225859101a1bb022c.tar.gz
vcpkg-f21872a1f6de75e76558126225859101a1bb022c.zip
[freeimage libraw] Fix case issue on Linux (#8707)
* [freeimage libraw] fix build issue on linux * Update the changes
Diffstat (limited to 'ports/freeimage')
-rw-r--r--ports/freeimage/CMakeLists.txt2
-rw-r--r--ports/freeimage/CONTROL2
-rw-r--r--ports/freeimage/portfile.cmake6
3 files changed, 4 insertions, 6 deletions
diff --git a/ports/freeimage/CMakeLists.txt b/ports/freeimage/CMakeLists.txt
index af3d1c37f..f8fd96929 100644
--- a/ports/freeimage/CMakeLists.txt
+++ b/ports/freeimage/CMakeLists.txt
@@ -13,7 +13,7 @@ if(BUILD_SHARED_LIBS)
add_definitions("-DOPENEXR_DLL")
endif()
-find_package(zlib REQUIRED)
+find_package(ZLIB REQUIRED)
find_package(PNG REQUIRED)
find_package(JPEG REQUIRED)
find_package(TIFF REQUIRED)
diff --git a/ports/freeimage/CONTROL b/ports/freeimage/CONTROL
index c911df6c7..53e641a78 100644
--- a/ports/freeimage/CONTROL
+++ b/ports/freeimage/CONTROL
@@ -1,5 +1,5 @@
Source: freeimage
-Version: 3.18.0-7
+Version: 3.18.0-8
Build-Depends: zlib, libpng, libjpeg-turbo, tiff, openjpeg, libwebp[all] (!uwp), libraw, jxrlib, openexr
Homepage: https://sourceforge.net/projects/freeimage/
Description: Support library for graphics image formats
diff --git a/ports/freeimage/portfile.cmake b/ports/freeimage/portfile.cmake
index 237ed2466..1fcbbb110 100644
--- a/ports/freeimage/portfile.cmake
+++ b/ports/freeimage/portfile.cmake
@@ -52,8 +52,6 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
-# Handle copyright
-file(COPY ${SOURCE_PATH}/license-fi.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/freeimage)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/freeimage/license-fi.txt ${CURRENT_PACKAGES_DIR}/share/freeimage/copyright)
-
vcpkg_copy_pdbs()
+file(INSTALL ${SOURCE_PATH}/license-fi.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+