[Build] Make freetype optional

This commit is contained in:
SpaiR committed 2021-04-04 09:55:59 +03:00
1 parent e8678ef62c
commit 6e67a18c26
7 files changed
+18

No files matched your search

+6
View File
@@ -40,6 +40,12 @@ if (System.getProperty('deployWin32')) {
libName = 'libimgui-java64.dylib'
}
if (System.getProperty('freetype')) {
packageName += 'ft'
packageDesc += 'with Freetype support'
libName = 'freetype/' + libName
}
jar {
from('../bin') {
include "$libName" // it's ok