mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:19:01 +08:00
17851654c9
* update openimageio * update version * update openimageio * update version * update openimageio * update version * update format * update version * update format * update version * update openimageio * update version * format * version * update openimageio * update version * Add vcpkg_minimum_required * update version Co-authored-by: Monica <v-liumonica@microsoft.com>
14 lines
795 B
Diff
14 lines
795 B
Diff
diff --git a/src/cmake/Config.cmake.in b/src/cmake/Config.cmake.in
|
|
index 2a67ee3..11a5d67 100644
|
|
--- a/src/cmake/Config.cmake.in
|
|
+++ b/src/cmake/Config.cmake.in
|
|
@@ -53,7 +53,7 @@ endif ()
|
|
|
|
# Compute the installation prefix relative to this file. Note that cmake files are installed
|
|
# to ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME} (see OIIO_CONFIG_INSTALL_DIR)
|
|
-get_filename_component(_CURR_INSTALL_LIBDIR "${CMAKE_CURRENT_LIST_DIR}/../../" ABSOLUTE)
|
|
+get_filename_component(_CURR_INSTALL_LIBDIR "${CMAKE_CURRENT_LIST_DIR}/../" ABSOLUTE)
|
|
get_filename_component(_ABS_CMAKE_INSTALL_LIBDIR "@CMAKE_INSTALL_FULL_LIBDIR@" ABSOLUTE)
|
|
get_filename_component(_ABS_CMAKE_INSTALL_INCLUDEDIR "@CMAKE_INSTALL_FULL_INCLUDEDIR@" ABSOLUTE)
|
|
file(RELATIVE_PATH _INCLUDEDIR_RELATIVE_TO_LIBDIR
|