diff options
| author | JackBoosY <yuzaiyang@beyondsoft.com> | 2019-12-24 21:53:30 -0800 |
|---|---|---|
| committer | JackBoosY <yuzaiyang@beyondsoft.com> | 2019-12-24 21:53:37 -0800 |
| commit | c66716353cac6d568f9bbb4cd8b6baf86f0f4f07 (patch) | |
| tree | 72a18c4834f08b5948f30de34aa122d2d0c09d7f | |
| parent | 0fba1ab2bc4ecb53218f91bc03e0621ca0451d07 (diff) | |
| download | vcpkg-c66716353cac6d568f9bbb4cd8b6baf86f0f4f07.tar.gz vcpkg-c66716353cac6d568f9bbb4cd8b6baf86f0f4f07.zip | |
[openimageio] Fix generated cmake files.
| -rw-r--r-- | ports/openimageio/portfile.cmake | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ports/openimageio/portfile.cmake b/ports/openimageio/portfile.cmake index c94bb423e..08ed70b36 100644 --- a/ports/openimageio/portfile.cmake +++ b/ports/openimageio/portfile.cmake @@ -57,11 +57,13 @@ vcpkg_install_cmake() vcpkg_copy_pdbs() +vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/OpenImageIO) + # Clean -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/doc) -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/doc) -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/doc + ${CURRENT_PACKAGES_DIR}/debug/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}) |
