vcpkg/ports/openimageio/fix-config-cmake.patch

13 lines
542 B
Diff

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