diff --git a/BUILD_LINUX.md b/BUILD_LINUX.md index 1996360fed..8b058a1efb 100644 --- a/BUILD_LINUX.md +++ b/BUILD_LINUX.md @@ -171,3 +171,9 @@ If your goal is to set up a development environment, it is desirable to set the directory that vcpkg builds into with the `HIFI_VCPKG_BASE` environment variable. For example, you might set `HIFI_VCPKG_BASE` to `/home/$USER/vcpkg`. By default, vcpkg will build in the system `/tmp` directory. + +If build is intended for packaging or creation of AppImage, VIRCADIA_CPU_ARCHITECTURE +CMake variable needs to be set to architecture specific value. +It defaults to "-march=native -mtune=native", which yields builds optimized for particular +machine, but builds will not work on machines lacking same CPU instructions. +For packaging and AppImage it is recommended to set it to different value, for example "-msse3".