aboutsummaryrefslogtreecommitdiff
path: root/ports/freeimage
diff options
context:
space:
mode:
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)
+