From 93906ae1c4eb9c9d3a5b83f0673cc98ec35c4222 Mon Sep 17 00:00:00 2001 From: wangli28 Date: Wed, 22 May 2019 03:01:13 +0000 Subject: [OpenEXR]Fix copyright install path --- ports/openexr/CONTROL | 2 +- ports/openexr/portfile.cmake | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/ports/openexr/CONTROL b/ports/openexr/CONTROL index ea85a082f..5fd21f6da 100644 --- a/ports/openexr/CONTROL +++ b/ports/openexr/CONTROL @@ -1,4 +1,4 @@ Source: openexr -Version: 2.3.0-2 +Version: 2.3.0-3 Description: OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications Build-Depends: zlib diff --git a/ports/openexr/portfile.cmake b/ports/openexr/portfile.cmake index f06ee4841..256a133b4 100644 --- a/ports/openexr/portfile.cmake +++ b/ports/openexr/portfile.cmake @@ -60,11 +60,7 @@ if (VCPKG_LIBRARY_LINKAGE STREQUAL static) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin) endif() -if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Linux") - set(OPENEXR_PORT_DIR "openexr") -else() - set(OPENEXR_PORT_DIR "OpenEXR") -endif() +set(OPENEXR_PORT_DIR "openexr") file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${OPENEXR_PORT_DIR}) file(RENAME ${CURRENT_PACKAGES_DIR}/share/${OPENEXR_PORT_DIR}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${OPENEXR_PORT_DIR}/copyright) -- cgit v1.2.3