From d8ab509f5238c47b12ab05ffd77729182596a6f8 Mon Sep 17 00:00:00 2001 From: Martmists Date: Thu, 18 Jul 2024 23:18:14 +0200 Subject: [PATCH] change flags Signed-off-by: Martmists --- .github/workflows/build-all.yaml | 3 --- build.gradle.kts | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-all.yaml b/.github/workflows/build-all.yaml index 64c897d..546c3b4 100644 --- a/.github/workflows/build-all.yaml +++ b/.github/workflows/build-all.yaml @@ -14,9 +14,6 @@ jobs: build: runs-on: macos-latest steps: - - run: | - ls /Library/Developer/CommandLineTools/ - ls /Library/Developer/CommandLineTools/SDKs/ - name: Checkout uses: actions/checkout@v2 with: diff --git a/build.gradle.kts b/build.gradle.kts index e2b47e5..1e85aa7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -80,8 +80,8 @@ kotlin { extraOpts("-Xsource-compiler-option", "-O2") if (target.name.startsWith("macos")) { - extraOpts("-Xsource-compiler-option", "-isystem /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include") - extraOpts("-Xsource-compiler-option", "-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk") + extraOpts("-Xsource-compiler-option", "-isystem=/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include") + extraOpts("-Xsource-compiler-option", "-isysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk") } val cppSource = projectDir.resolve("src/lib/cpp").listFiles().filter { it.extension == "cpp" }.map { it.absolutePath }