Simplify build-script
This commit is contained in:
parent
54eb66ac70
commit
ef31cfcd65
@ -8,12 +8,10 @@ plugins {
|
||||
|
||||
kotlin {
|
||||
targets.withType<KotlinNativeTarget> {
|
||||
compilations["main"].apply {
|
||||
cinterops {
|
||||
val libgsl by creating {
|
||||
defFile("src/nativeInterop/cinterop/libgsl.def")
|
||||
includeDirs { allHeaders("./src/nativeMain/resources/") }
|
||||
}
|
||||
compilations["main"].cinterops {
|
||||
val libgsl by creating {
|
||||
defFile("src/nativeInterop/cinterop/libgsl.def")
|
||||
includeDirs { allHeaders("./src/nativeMain/resources/") }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user