From a3f5b48a9313685034a6c197ddfa292a4b9e1b1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Do=C4=9Fa=20Oru=C3=A7?= Date: Fri, 30 Aug 2024 09:47:57 +0300 Subject: [PATCH 1/2] Update CMakeLists.txt --- Engine/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/CMakeLists.txt b/Engine/CMakeLists.txt index 39bbeab1..a9fe8a33 100644 --- a/Engine/CMakeLists.txt +++ b/Engine/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.26.4) project(Engine LANGUAGES CXX) set(CMAKE_CXX_STANDARD 23) -set(CMAKE_CXX_STANDARD_REQUIRED True) +set(CMAKE_CXX_STANDARD_REQUIRED ON) add_library(Engine STATIC) target_include_directories(Engine PUBLIC ..) From 1b386338ad5ebefc46e58ccd69e7e94f5db08935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Do=C4=9Fa=20Oru=C3=A7?= Date: Fri, 30 Aug 2024 09:54:04 +0300 Subject: [PATCH 2/2] Update cmake-multi-platform.yml --- .github/workflows/cmake-multi-platform.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index bc244893..1afc5787 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -34,7 +34,7 @@ jobs: - os: ubuntu-24.04 c_compiler: clang cpp_compiler: clang++ - cmake_cxx_flags: "-std=c++23 -stdlib=libc++" + cmake_cxx_flags: "-stdlib=libc++" exclude: - os: windows-latest c_compiler: clang @@ -100,7 +100,7 @@ jobs: cmake -B ${{ steps.strings.outputs.build-output-dir }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} - -DCMAKE_CXX_FLAGS="${{ matrix.cmake_cxx_flags }}" + -DCMAKE_CXX_FLAGS=${{ matrix.cmake_cxx_flags }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -S ${{ github.workspace }}