From 43ee15cf111c9aa4be4af67a479afce65749542a Mon Sep 17 00:00:00 2001 From: Kade <26305836+Kade-github@users.noreply.github.com> Date: Mon, 15 Apr 2024 12:18:49 -0700 Subject: [PATCH] linux fixes --- .github/workflows/build.yml | 1 + src/CMakeLists.txt | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f02b163..81a6170 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,6 +25,7 @@ jobs: source-dir: ./src options: CMAKE_BUILD_TYPE=Release build-args: --config Release + cxx-flags: -stdlib=libc++ -std=c++20 - name: Create build directory run: mkdir ./final-build - name: Copy assets diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f1ada0b..141c288 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -67,8 +67,6 @@ else() set(SUBSYSTEM_LINKER_OPTIONS "-mwindows") endif() -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -std=c++20") - set_target_properties(TheFrim PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" )