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()
|
loadCommandLineProperties()
|
||||||
loadLocalProperties()
|
loadLocalProperties()
|
||||||
setupCompilationFlags()
|
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) {
|
project.plugins.withType(NativeComponentPlugin) {
|
||||||
model {
|
project.model {
|
||||||
toolChains {
|
toolChains {
|
||||||
clang(Clang) {
|
clang(Clang) {
|
||||||
clangPath.each {
|
clangPath.each {
|
||||||
|
|||||||
Reference in New Issue
Block a user