Simplify build-script

This commit is contained in:
Iaroslav Postovalov 2020-10-04 13:19:49 +07:00
parent 54eb66ac70
commit ef31cfcd65
No known key found for this signature in database
GPG Key ID: 46E15E4A31B3BCD7

View File

@ -8,15 +8,13 @@ plugins {
kotlin {
targets.withType<KotlinNativeTarget> {
compilations["main"].apply {
cinterops {
compilations["main"].cinterops {
val libgsl by creating {
defFile("src/nativeInterop/cinterop/libgsl.def")
includeDirs { allHeaders("./src/nativeMain/resources/") }
}
}
}
}
sourceSets.commonMain {
dependencies {