mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 01:00:46 +00:00
After this, the required options for cmake are listed below: ``` -DCMAKE_C_FLAGS="-msimd128" -DCMAKE_TOOLCHAIN_FILE=/path/to/wasi-sdk-19.0/share/cmake/wasi-sdk.cmake -DWASI_SDK_PREFIX=/path/to/wasi-sdk-19.0 -DCGLM_USE_TEST=ON ``` If compiling to wasi with simd128 support, `-DCMAKE_C_FLAGS="-msimd128"` can be removed. If tests are not needed, `-DCGLM_USE_TEST=ON` can be removed.