Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
toasterofbread committed Nov 24, 2024
1 parent 5853b11 commit 2e59baf
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions library/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,12 @@ kotlin {
overrides.overrideAnonymousStructIndex(24, 10)
overrides.overrideAnonymousStructIndex(25, 11)

// if (OperatingSystem.current().isWindows()) {
// include_dirs += File("C:\\cygwin\\usr\\include").listFiles().orEmpty().map { it.absolutePath }
// }
if (OperatingSystem.current().isWindows()) {
include_dirs += File("C:\\cygwin\\lib").listFiles().orEmpty().mapNotNull { file ->
if (file.resolve("include").isDirectory) file.absolutePath
else null
}
}
}
}
}
Expand Down

0 comments on commit 2e59baf

Please sign in to comment.