Add <cmath> to fix MSVC build

This commit is contained in:
Alex Spataru 2024-11-18 19:49:08 -05:00
parent 6a1cfbdf6c
commit f2af6297aa
2 changed files with 3 additions and 3 deletions

View File

@ -333,7 +333,7 @@ jobs:
version: ${{env.QT_VERSION_WINDOWS}}
modules: ${{env.QT_MODULES}}
cache: 'true'
arch: win64_llvm_mingw
arch: win64_msvc2022_64
- name: '⚙️ Install CMake'
uses: lukka/get-cmake@latest
@ -344,8 +344,7 @@ jobs:
run: |
mkdir build
cd build
cmake ../ -DCMAKE_BUILD_TYPE=Release
#cmake ../ -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl -DCMAKE_BUILD_TYPE=Release
cmake ../ -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl -DCMAKE_BUILD_TYPE=Release
- name: '🚧 Build application'
run: |

View File

@ -22,6 +22,7 @@
#pragma once
#include <cmath>
#include <cstddef>
#include <algorithm>
#include <x86/sse2.h>