aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwangli28 <wangli28@beyondsoft.com>2019-05-22 03:01:13 +0000
committerwangli28 <wangli28@beyondsoft.com>2019-05-22 03:01:35 +0000
commit93906ae1c4eb9c9d3a5b83f0673cc98ec35c4222 (patch)
treeb740844975593a54dd32443edebd7e750fd29992
parente16f9c29a05aa178ce8a476a293723ab92f08f89 (diff)
downloadvcpkg-93906ae1c4eb9c9d3a5b83f0673cc98ec35c4222.tar.gz
vcpkg-93906ae1c4eb9c9d3a5b83f0673cc98ec35c4222.zip
[OpenEXR]Fix copyright install path
-rw-r--r--ports/openexr/CONTROL2
-rw-r--r--ports/openexr/portfile.cmake6
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)