message: Find python libs only if BUILD_ONNX_PYTHON is set to ON
diff: @@ -117,7 +117,9 @@ endif()
  # Use the following command in the future; now this is only compatible with the latest pybind11
  # find_package(Python ${PY_VERSION} COMPONENTS Interpreter Development REQUIRED)
  find_package(PythonInterp ${PY_VERSION} REQUIRED)
  +if(BUILD_ONNX_PYTHON)
  find_package(PythonLibs ${PY_VERSION})
  +endif()
  if(CMAKE_SYSTEM_NAME STREQUAL "AIX")
  set(CMAKE_NO_SYSTEM_FROM_IMPORTED 1)
  