-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[openimageio] Update to version 2.1.16.0 (#11767)
- Loading branch information
Showing
5 changed files
with
28 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
diff --git a/src/cmake/Config.cmake.in b/src/cmake/Config.cmake.in | ||
index c6e1a13..3d784f3 100644 | ||
index c578a1b..298362a 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@) | ||
@@ -14,6 +14,6 @@ set (@PROJECT_NAME@_PLUGIN_SEARCH_PATH "@PLUGIN_SEARCH_PATH_NATIVE@") | ||
#...logic to determine installedPrefix from the own location... | ||
#set (@PROJECT_NAME@_CONFIG_DIR "${installedPrefix}/@CONFIG_INSTALL_DIR@") | ||
|
||
-include("${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake") | ||
-include ("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake") | ||
+include("${CMAKE_CURRENT_LIST_DIR}/OpenImageIOTargets.cmake") | ||
check_required_components("@PROJECT_NAME@") | ||
\ No newline at end of file | ||
|
||
check_required_components ("@PROJECT_NAME@") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/cmake/externalpackages.cmake b/src/cmake/externalpackages.cmake | ||
index 4f1dfaf..1a17d1e 100644 | ||
--- a/src/cmake/externalpackages.cmake | ||
+++ b/src/cmake/externalpackages.cmake | ||
@@ -385,5 +385,7 @@ macro (find_or_download_fmt) | ||
checked_find_package (fmt REQUIRED) | ||
endmacro() | ||
|
||
-find_or_download_fmt() | ||
+find_package(fmt CONFIG REQUIRED) | ||
+get_property(FMT_INCLUDES TARGET fmt::fmt PROPERTY INTERFACE_INCLUDE_DIRECTORIES) | ||
+checked_find_package (fmt CONFIG REQUIRED) | ||
include_directories (${FMT_INCLUDES}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters