Skip to content

Commit

Permalink
change flags
Browse files Browse the repository at this point in the history
Signed-off-by: Martmists <[email protected]>
  • Loading branch information
Martmists-GH committed Jul 18, 2024
1 parent 047b8e4 commit d8ab509
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit d8ab509

Please sign in to comment.