BinomialLLC / basis_universal

Basis Universal GPU Texture Codec
Apache License 2.0
2.67k stars 260 forks source link

Add prefix to cmake options #363

Open AnonN10 opened 10 months ago

AnonN10 commented 10 months 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