From 043e1fd21602e1096d1c1a5882547adfe6bca395 Mon Sep 17 00:00:00 2001 From: Martmists Date: Thu, 18 Jul 2024 21:31:28 +0200 Subject: [PATCH] suggestion from TCD Signed-off-by: Martmists --- build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index fcf74d3..95e8645 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 /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 }