pineapple/externals/vcpkg/ports/openimageio/fix-config-cmake.patch
2022-07-23 03:01:36 +02:00

13 lines
512 B
Diff
Executable file

diff --git a/src/cmake/Config.cmake.in b/src/cmake/Config.cmake.in
index b498ece..fb45388 100644
--- a/src/cmake/Config.cmake.in
+++ b/src/cmake/Config.cmake.in
@@ -30,7 +30,7 @@ endif ()
#...logic to determine installedPrefix from the own location...
#set (@PROJECT_NAME@_CONFIG_DIR "${installedPrefix}/@CONFIG_INSTALL_DIR@")
-include ("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
+include("${CMAKE_CURRENT_LIST_DIR}/OpenImageIOTargets.cmake")
check_required_components ("@PROJECT_NAME@")