[Build] Make freetype optional
This commit is contained in:
1 parent
e8678ef62c
commit
6e67a18c26
7 files changed
+18
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user