Fix filament-utils-android build on Windows (#2508)
* Fix filament-utils-android build on Windows * Update build.gradle * nit: use char version instead * Fix No signature of method: java.lang.String.replace() is applicable for argument types: (Character, String) values: [\, /]
This commit is contained in:
committed by
GitHub
parent
e07f0dd244
commit
2260fe5b62
@@ -27,6 +27,9 @@ buildscript {
|
||||
if (project.hasProperty("filament_dist_dir")) {
|
||||
filamentPath = file(project.property("filament_dist_dir")).absolutePath
|
||||
}
|
||||
// Our CMake scripts require a forward-slash path for the FILAMENT_DIST_DIR
|
||||
// variable, so here we convert the native path to a forward-slash path.
|
||||
filamentPath = filamentPath.replace(File.separator, '/')
|
||||
|
||||
def hasVulkan = project.hasProperty("filament_supports_vulkan")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user