Skip to content

Commit

Permalink
[openimageio] Fix openimageio targets.cmake name
Browse files Browse the repository at this point in the history
  • Loading branch information
JackBoosY committed Dec 30, 2019
1 parent 9d0fc9a commit 7400c26
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ports/openimageio/fix-config-cmake.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/src/cmake/Config.cmake.in b/src/cmake/Config.cmake.in
index c6e1a13..3d784f3 100644
--- a/src/cmake/Config.cmake.in
+++ b/src/cmake/Config.cmake.in
@@ -6,5 +6,5 @@ include(CMakeFindDependencyMacro)
# e.g. if switching to Boost::Boost instead of using ${Boost_LIBRARY_DIRS} the add:
# find_dependency(Boost @Boost_VERSION@)

-include("${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake")
+include("${CMAKE_CURRENT_LIST_DIR}/OpenImageIOTargets.cmake")
check_required_components("@PROJECT_NAME@")
\ No newline at end of file
1 change: 1 addition & 0 deletions ports/openimageio/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ vcpkg_from_github(
fix-dependency.patch
fix_static_build.patch
fix-tools-path.patch
fix-config-cmake.patch
)

file(REMOVE_RECURSE "${SOURCE_PATH}/ext")
Expand Down

0 comments on commit 7400c26

Please sign in to comment.