[Build] Update native libraries build instruction

This commit is contained in:
SpaiR committed 2020-10-17 13:27:17 +03:00
1 parent 4977e384cb
commit da176756fc
2 files changed
+21 -7

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ dependencies {
task startExample(type: JavaExec, dependsOn: build) {
main = 'ImGuiGlfwExample'
classpath = sourceSets.test.runtimeClasspath
jvmArgs = ['-Djava.library.path=../bin']
jvmArgs = ["-Djava.library.path=${System.getProperty('libPath', '../bin')}"]
if (OperatingSystem.current().isMacOsX()) {
jvmArgs += ['-XstartOnFirstThread', '-Djava.awt.headless=true']