Skip to content

Commit dda86d3

Browse files
committed
Fix workflow again
1 parent 4d02d23 commit dda86d3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/cmake-multi-platform.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ jobs:
6060
with:
6161
arch: x64
6262

63-
- name: Install libstdc++ on ubuntu
63+
- name: Install libc++ on ubuntu
6464
shell: bash
6565
if: ${{ matrix.os == 'ubuntu-latest' }}
6666
run: |
67-
sudo apt install libstdc++-12-dev
67+
sudo apt install libc++-1
6868
6969
- name: Set up ninja
7070
uses: ./.github/actions/setup-ninja

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The systems manage all the logic and changes the components.
5656

5757
<h2 align="center">Building</h2>
5858

59-
All builds can be packaged by compiling the `package` target (Using cmake CPack)
59+
All builds can be packaged by compiling the `package` target (Using cmake CPack). If you are using `clang`, you need libc++
6060

6161
Dependencies:
6262

include/utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ inline constexpr float toRadians(const float degrees) { return degrees * (PI / 1
3232

3333
inline constexpr float toDegrees(const float radians) { return radians * (180.f / PI); }
3434

35-
inline constexpr bool nearZero(const float number, const float epsilon = 0.001f) {
35+
inline bool nearZero(const float number, const float epsilon = 0.001f) {
3636
if (SDL_fabs(number) <= epsilon) {
3737
return true;
3838
} else {

0 commit comments

Comments
 (0)