fix some typos on no exception building (#366)

* fix some typos on no exception building

* undo some changes

* more fixing
This commit is contained in:
Wenbing Li 2023-02-22 12:47:58 -08:00 коммит произвёл GitHub
Родитель 1445b6fdb7
Коммит be0625c385
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -19,7 +19,7 @@ Introduction: ONNXRuntime-Extensions is a library that extends the capability of
#### <strong>on Windows</strong>
```bash
pip install --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi/simple/ onnxruntime-extensions
pip install --index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi/simple/ onnxruntime-extensions
```
#### <strong>on Linux/macOS</strong>
the packages are not ready yet, so it could be installed from source. Please make sure the compiler toolkit like gcc(later than g++ 8.0) or clang, and the tool <strong>cmake</strong> are installed before the following command

Просмотреть файл

@ -15,6 +15,6 @@ endif()
if (OCOS_ENABLE_SPM_TOKENIZER)
message(FATAL_ERROR "SPM_TOKENIZER operator needs c++ exceptions support")
endif()
if (OCOS_ENABLE_CV2 || OCOS_ENABLE_OPENCV_CODECS || OCOS_ENABLE_VISION)
if (OCOS_ENABLE_CV2 OR OCOS_ENABLE_OPENCV_CODECS OR OCOS_ENABLE_VISION)
message(FATAL_ERROR "the operators depending on opencv needs c++ exceptions support")
endif()