Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adsk contrib - Add support for minimum and recommended versions for d…
…ependencies (AcademySoftwareFoundation#1777) * Implementation of ocio_find_package and ocio_install_package macro. Implemention of minimum, maximum and recommended version. Refactor the FindOpenImageIO to be inline with the rest of the custom find module (OCIO_USE_OIIO_CMAKE_CONFIG is no longer needed). Added a new option called OCIO_VERBOSE. It allow the user to tell OCIO to display more information when searching and building the dependencies. Splitted the find and install part into two files - Find<pkg>.cmake and Install<pkg>.cmake. Signed-off-by: Cédrik Fuoco <[email protected]> * Removing a duplicate call to set_property in OpenImageIO find module. Setting policy CMP0042 when building ZLIB since that project is using an old CMake version as the cmake_minimum_required and that version has no knowledge of the policy. Fixing a potential issue in Installopenfx. Changing back the version to 1.4 as before. Ignoring warning from OpenImageIO for imageioapphelpers. The same warning are ignored for ociodisplay, ocioconvert and ociolutimage. Signed-off-by: Cédrik Fuoco <[email protected]> * Fixed an issue with FindOpenImageIO that was found while testing on macOS. Renamed FindOpenShadingLanguage to FindOSL to match the project name used the OSL's CMakefile. Cleanup the code for FindOSL and removed duplicate warning about needed C++14. Updated the header comments for all Find and Install modules. Signed-off-by: Cédrik Fuoco <[email protected]> * Fixing typo Signed-off-by: Cédrik Fuoco <[email protected]> * Renamed ocio_find_package to ocio_handle_dependency Renamed ocio_install_package to ocio_install_dependency The "Installing [...]" message from Install module is now under OCIO_VERBOSE variable. Added a message in ocio_install_dependency instead Improve the colors usage in the logging Signed-off-by: Cédrik Fuoco <[email protected]> * Changed prefix for ocio_install_dependency since it was conflicting with the prefix of ocio_handle_dependency since they were the same. Removed FindOpenEXR.cmake and FindOpenImageIO.cmake since they are not needed anymore (for differente reason). Added PROMOTE_TARGET option for ocio_handle_dependency which promote the target to GLOBAL. Signed-off-by: Cédrik Fuoco <[email protected]> * Mostly comments and documentations Signed-off-by: Cédrik Fuoco <[email protected]> * Small update of the Existing Install Hints section Signed-off-by: Cédrik Fuoco <[email protected]> * Changed RECOMMENDED_MIN_VERSION to RECOMMENDED_VERSION Re-worded some of the comments Signed-off-by: Cédrik Fuoco <[email protected]> * Fixing issue with ocio_handle_dependency macro where it wasn't respecting OCIO_INSTALL_EXT_PACKAGES option correctly. Signed-off-by: Cédrik Fuoco <[email protected]> * Adding more documentations and dropping support to look for static zlib since the user can update their cmake in order to do that. Signed-off-by: Cédrik Fuoco <[email protected]> * Documentations Signed-off-by: Cédrik Fuoco <[email protected]> * Documentations Signed-off-by: Cédrik Fuoco <[email protected]> * fixing typo Signed-off-by: Cédrik Fuoco <[email protected]> * Fix typo and fix issue when OCIO is installing ZLIB Signed-off-by: Cédrik Fuoco <[email protected]> * Tentative fix for Linux CI failure Signed-off-by: Cédrik Fuoco <[email protected]> * Ignoring specifics warnings on OpenImageIO target directly. Signed-off-by: Cédrik Fuoco <[email protected]> * Removing OCIO_USE_OIIO_CMAKE_CONFIG as it is not needed anymore. Signed-off-by: Cédrik Fuoco <[email protected]> --------- Signed-off-by: Cédrik Fuoco <[email protected]>
- Loading branch information