mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-31 17:42:55 +08:00
Add <cmath> to fix MSVC build
This commit is contained in:
parent
6a1cfbdf6c
commit
f2af6297aa
5
.github/workflows/deploy.yml
vendored
5
.github/workflows/deploy.yml
vendored
@ -333,7 +333,7 @@ jobs:
|
|||||||
version: ${{env.QT_VERSION_WINDOWS}}
|
version: ${{env.QT_VERSION_WINDOWS}}
|
||||||
modules: ${{env.QT_MODULES}}
|
modules: ${{env.QT_MODULES}}
|
||||||
cache: 'true'
|
cache: 'true'
|
||||||
arch: win64_llvm_mingw
|
arch: win64_msvc2022_64
|
||||||
|
|
||||||
- name: '⚙️ Install CMake'
|
- name: '⚙️ Install CMake'
|
||||||
uses: lukka/get-cmake@latest
|
uses: lukka/get-cmake@latest
|
||||||
@ -344,8 +344,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir build
|
mkdir build
|
||||||
cd 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'
|
- name: '🚧 Build application'
|
||||||
run: |
|
run: |
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <cmath>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <x86/sse2.h>
|
#include <x86/sse2.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user