diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2020-08-07 11:48:19 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-07 11:48:19 -0700 |
| commit | fde75f410eba535d74ee1009e78d8c385d5b6f4b (patch) | |
| tree | 451d7e5873743a9278862ab837be7731fd076b4e | |
| parent | 45739eb28d6b68f919b90ce9ecb2ab2e9a4faf6f (diff) | |
| download | vcpkg-fde75f410eba535d74ee1009e78d8c385d5b6f4b.tar.gz vcpkg-fde75f410eba535d74ee1009e78d8c385d5b6f4b.zip | |
[openimageio] Fix installed cmake file path. (#12592)
| -rw-r--r-- | ports/openimageio/CONTROL | 3 | ||||
| -rw-r--r-- | ports/openimageio/portfile.cmake | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/ports/openimageio/CONTROL b/ports/openimageio/CONTROL index 63973545d..1a7e6feac 100644 --- a/ports/openimageio/CONTROL +++ b/ports/openimageio/CONTROL @@ -1,5 +1,6 @@ Source: openimageio -Version: 2.1.16.0-1 +Version: 2.1.16.0 +Port-Version: 2 Homepage: https://github.com/OpenImageIO/oiio Description: A library for reading and writing images, and a bunch of related classes, utilities, and application Build-Depends: libjpeg-turbo, tiff, libpng, openexr, boost-thread, boost-smart-ptr, boost-foreach, boost-regex, boost-type-traits, boost-static-assert, boost-unordered, boost-config, boost-algorithm, boost-filesystem, boost-system, boost-thread, boost-asio, boost-random, robin-map, boost-stacktrace, fmt diff --git a/ports/openimageio/portfile.cmake b/ports/openimageio/portfile.cmake index 8e3e90ef8..f549457af 100644 --- a/ports/openimageio/portfile.cmake +++ b/ports/openimageio/portfile.cmake @@ -66,7 +66,7 @@ vcpkg_install_cmake() vcpkg_copy_pdbs() -vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/OpenImageIO) +vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/OpenImageIO TARGET_PATH share/OpenImageIO) if ("tools" IN_LIST FEATURES) vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/openimageio) @@ -78,8 +78,8 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/doc ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share) -file(COPY ${SOURCE_PATH}/src/cmake/modules/FindOpenImageIO.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}) -file(COPY ${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}) +file(COPY ${SOURCE_PATH}/src/cmake/modules/FindOpenImageIO.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/OpenImageIO) +file(COPY ${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/OpenImageIO) # Handle copyright file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) |
