Add native workaround to mac build as well

This commit is contained in:
Ugljesa Jovanovic 2020-05-29 22:11:37 +02:00 committed by Ugljesa Jovanovic
parent 05ef422747
commit c984c65452
No known key found for this signature in database
GPG Key ID: 178E6DFCECCB0E0F

View File

@ -308,9 +308,17 @@ kotlin {
val macosX64Main by getting {
dependsOn(nativeMain)
//Force idea to consider native sourceset
if (ideaActive) {
kotlin.srcDir("src/nativeMain/kotlin")
}
}
val macosX64Test by getting {
dependsOn(nativeTest)
//Force idea to consider native sourceset
if (ideaActive) {
kotlin.srcDir("src/nativeTest/kotlin")
}
}
}