Skip to content

Commit

Permalink
suggestion from TCD
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 80fd552 commit 043e1fd
Showing 1 changed file with 2 additions and 2 deletions.
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 /opt/homebrew/include")
extraOpts("-Xsource-compiler-option", "-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.0.sdk")
extraOpts("-Xsource-compiler-option", "-isystem /Library/Developer/CommandLineTools/usr/lib/clang/15.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 043e1fd

Please sign in to comment.