BinomialLLC / basis_universal

Basis Universal GPU Texture Codec
Apache License 2.0
2.72k stars 267 forks source link

Add prefix to cmake options #363

Open AnonN10 opened 1 year ago

AnonN10 commented 1 year ago

I'm currently attempting to use this as a library in a project but cmake options lack a prefix and can potentially cause a conflict, I suggest prefixing them with BASISU_*.

Example (with added build-as-library option): https://github.com/AnonN10/basis_universal/blob/master/CMakeLists.txt