Commit 4f3bfa4d authored by Nikolay Igotti's avatar Nikolay Igotti

Compile on Windows.

parent 510df2fb
...@@ -157,6 +157,14 @@ tasks.withType(LinkSharedLibrary::class.java).configureEach { ...@@ -157,6 +157,14 @@ tasks.withType(LinkSharedLibrary::class.java).configureEach {
) )
) )
} }
"windows" -> {
linkerArgs.addAll(
listOf(
"user32.lib",
"opengl32.lib"
)
)
}
} }
} }
...@@ -167,6 +175,9 @@ library { ...@@ -167,6 +175,9 @@ library {
dependencies { dependencies {
implementation(fileTree("$skiaDir/out/Release-x64").matching { implementation(fileTree("$skiaDir/out/Release-x64").matching {
if (target == "windows")
include("**.lib")
else
include("**.a") include("**.a")
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment