Fix building dist without system toolchain
This commit is contained in:
committed by
SvyatoslavScherbina
parent
a9ebb44c6d
commit
6cf55ce20d
+5
-5
@@ -33,15 +33,15 @@ allprojects {
|
||||
loadCommandLineProperties()
|
||||
loadLocalProperties()
|
||||
setupCompilationFlags()
|
||||
setupClang()
|
||||
setupClang(project)
|
||||
}
|
||||
|
||||
void setupClang() {
|
||||
void setupClang(Project project) {
|
||||
|
||||
convention.plugins.execClang = new org.jetbrains.kotlin.ExecClang(project)
|
||||
project.convention.plugins.execClang = new org.jetbrains.kotlin.ExecClang(project)
|
||||
|
||||
plugins.withType(NativeComponentPlugin) {
|
||||
model {
|
||||
project.plugins.withType(NativeComponentPlugin) {
|
||||
project.model {
|
||||
toolChains {
|
||||
clang(Clang) {
|
||||
clangPath.each {
|
||||
|
||||
Reference in New Issue
Block a user