You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Use MISSING so OCIO vendors its own third-party deps when not already provided by RV_DEPS (vs NONE/default), pinning versions and avoiding ABI/licensing drift
149
+
# with system libs; typical CI pulls in Imath/OpenEXR components, yaml-cpp, pystring, expat, lcms2, zlib, and related OCIO external packages.
# Force CMake to use our custom Python, not the system/registry Python. Python_FIND_REGISTRY=NEVER prevents Windows registry lookups that find the system
211
+
# Python from actions/setup-python. Python_FIND_STRATEGY=LOCATION ensures Python_ROOT_DIR is checked before the default search paths.
212
+
"-DPython_FIND_REGISTRY=NEVER"
213
+
"-DPython_FIND_STRATEGY=LOCATION"
207
214
# Mandatory param: OCIO CMake code finds Python.
208
215
"-DPython_LIBRARY=${RV_DEPS_BASE_DIR}/RV_DEPS_PYTHON3/install/bin/python${PYTHON_VERSION_SHORT_NO_DOT}.lib"# with this param
209
216
# DRV_Python_LIBRARIES: A Patch RV created for PyOpenColorIO inside OCIO: Hardcode to Release since FindPython.cmake will find the Debug lib, which we don't
LIST(APPEND _configure_options "-DUSE_PYTHON=0") # this on would requireextra pybind11 package
51
-
LIST(APPEND _configure_options "-DUSE_OCIO=0")
51
+
# OIIO 3.x still calls find_package(Python3) even with USE_PYTHON=0. Point it to our custom Python to prevent finding the system Python (e.g. 3.14 from GitHub
# PCRE is not used for Linux and MacOS (Boost regex is used) in the current code. Copy library files manually since there are tools that are not needed in the
90
-
# bin folder.
91
-
ADD_CUSTOM_COMMAND(
92
-
COMMENT"Staging ${_target}'s shared library into ${RV_STAGE_BIN_DIR}"
0 commit comments