Update BUILD.md

This commit is contained in:
ksuprynowicz 2021-10-30 15:18:48 +02:00 committed by GitHub
parent f2e4c4daa2
commit afae963031
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -195,7 +195,7 @@ The following build options can be used when running CMake
### Optimization build options
* VIRCADIA_OPTIMIZE - This variable defaults to 1 if not set and enables compiler optimization flags on Linux and MacOS. Setting it to 0 will result in unoptimized build.
* VIRCADIA_CPU_ARCHITECTURE - This variable contains architecture specific compiler flags which are used if VIRCADIA_OPTIMIZE is true. If it is not set, it defaults to "-march=native -mtune=native", which helps yield more performance for locally used build, but for packaging it needs to be set to different value for portability, for example "-msse3".
* VIRCADIA_CPU_ARCHITECTURE - This variable contains architecture specific compiler flags which are used if `VIRCADIA_OPTIMIZE` is true. If it is not set, it defaults to `-march=native -mtune=native`, which helps yield more performance for locally used build, but for packaging it needs to be set to different value for portability, for example `-msse3`.
### Developer Build Options