onnx / optimizer

Actively maintained ONNX Optimizer
Apache License 2.0
650 stars 90 forks source link

Is a lower version of cmake be compatible with onnxoptimizer? #96

Closed gglin001 closed 2 years ago

gglin001 commented 2 years ago

the current CMakeLists.txt needs cmake > 3.22, it is too high for some "old" cmake projects to use it directly. I wonder if it is possible to be compatible with a lower version of cmake?

daquexian commented 2 years ago

I'm afraid it is not easy. Do you encounter any problem in the "old" cmake projects?

gglin001 commented 2 years ago

yes, I have a project needs cmake <=3.22(it is a pre-build project , hard to update cmake version), it just meets the minimum requirement of onnxoptimizer, I can only use cmake==3.22.x now