blob: 2b6a477e310feba418fdc2c6b08d46943af07fe0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
diff --color --unified --recursive --text '--exclude=.git' '--exclude=generated' '--exclude=build' '--exclude=_build' OpenRV.clean/cmake/dependencies/ocio.cmake OpenRV/cmake/dependencies/ocio.cmake
--- OpenRV.clean/cmake/dependencies/ocio.cmake 2024-07-20 06:18:07.940813426 -0700
+++ OpenRV/cmake/dependencies/ocio.cmake 2024-07-20 06:24:28.533832851 -0700
@@ -46,6 +46,11 @@
"https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/refs/tags/v${_version}.tar.gz"
)
+SET(_patch_command
+ cd ${PROJECT_SOURCE_DIR} &&
+ patch --forward --strip=1 --input=../ocio_install_yaml-cpp.patch
+)
+
# Another project that isn't adding a debug postfix
RV_MAKE_STANDARD_LIB_NAME("OpenColorIO" "${_version}" "SHARED" "")
@@ -167,6 +172,7 @@
BINARY_DIR ${_build_dir}
INSTALL_DIR ${_install_dir}
DEPENDS Boost::headers RV_DEPS_PYTHON3 Imath::Imath ZLIB::ZLIB
+ PATCH_COMMAND ${_patch_command}
CONFIGURE_COMMAND ${CMAKE_COMMAND} ${_configure_options}
BUILD_COMMAND ${_cmake_build_command}
INSTALL_COMMAND ${_cmake_install_command}
|