File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ LIST(APPEND _byproducts ${_byprojects_copy})
4848# The '_configure_options' list gets reset and initialized in 'RV_CREATE_STANDARD_DEPS_VARIABLES'
4949LIST (APPEND _configure_options "-DBUILD_TESTING=OFF" )
5050LIST (APPEND _configure_options "-DUSE_PYTHON=0" ) # this on would requireextra pybind11 package
51+ # OIIO 3.x still calls find_package(Python3) even with USE_PYTHON=0. Point it to our custom Python
52+ # to prevent finding the system Python (e.g. 3.14 from GitHub runner toolcache).
53+ LIST (APPEND _configure_options "-DPython3_ROOT_DIR=${RV_DEPS_BASE_DIR} /RV_DEPS_PYTHON3/install" )
54+ LIST (APPEND _configure_options "-DPython3_FIND_STRATEGY=LOCATION" )
55+ LIST (APPEND _configure_options "-DPython3_FIND_REGISTRY=NEVER" )
5156LIST (APPEND _configure_options "-DUSE_OCIO=ON" )
5257LIST (APPEND _configure_options "-DOpenColorIO_ROOT=${RV_DEPS_OCIO_ROOT_DIR} " )
5358IF (RHEL_VERBOSE)
You can’t perform that action at this time.
0 commit comments