We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69d5231 commit ae962d8Copy full SHA for ae962d8
composeApp/build.gradle.kts
@@ -59,10 +59,14 @@ kotlin {
59
}
60
iosTarget.compilations["main"].cinterops {
61
val sdloader by creating {
62
- val headersDir = project.file("${rootProject.projectDir}/cpp/stable-diffusion.cpp/include")
+ val headersDir = project.file("${rootProject.projectDir}/cpp/stable-diffusion.cpp")
63
+ if (!headersDir.exists()) {
64
+ println("WARNING: Headers dir not found at $headersDir")
65
+ }
66
defFile(project.file("src/nativeInterop/cinterop/sdloader.def"))
67
compilerOpts("-I${headersDir.absolutePath}")
68
includeDirs(headersDir)
69
+ extraOpts("-I${headersDir.absolutePath}")
70
extraOpts("-verbose")
71
72
0 commit comments