File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,14 @@ ENDIF()
279279SET (_requirements_install_command
280280 ${CMAKE_COMMAND} -E env
281281 ${_otio_debug_env}
282- "OPENSSL_DIR=${RV_DEPS_OPENSSL_INSTALL_DIR} "
282+ )
283+
284+ # Only set OPENSSL_DIR if we built OpenSSL ourselves (not for Rocky Linux 8 CY2023 which uses system OpenSSL)
285+ IF (DEFINED RV_DEPS_OPENSSL_INSTALL_DIR)
286+ LIST (APPEND _requirements_install_command "OPENSSL_DIR=${RV_DEPS_OPENSSL_INSTALL_DIR} " )
287+ ENDIF ()
288+
289+ LIST (APPEND _requirements_install_command
283290 "CMAKE_ARGS=-DPYTHON_LIBRARY=${_python3_cmake_library} -DPYTHON_INCLUDE_DIR=${_include_dir} -DPYTHON_EXECUTABLE=${_python3_executable} "
284291 "${_python3_executable} " -m pip install --upgrade --no -cache -dir --force-reinstall --no -binary :all : -r "${_requirements_output_file} "
285292)
You can’t perform that action at this time.
0 commit comments