fix utf-16 reading and make it work on android
This commit is contained in:
@@ -31,6 +31,7 @@ add_library(
|
||||
../libs/poly2tri/poly2tri/sweep/cdt.cc
|
||||
../libs/poly2tri/poly2tri/sweep/sweep_context.cc
|
||||
../libs/poly2tri/poly2tri/sweep/sweep.cc
|
||||
../libs/fmt/src/format.cc
|
||||
src/main/cpp/main.cpp
|
||||
../src/pch.cpp
|
||||
../src/util.cpp
|
||||
@@ -91,6 +92,7 @@ add_library(
|
||||
../src/node_usermanual.cpp
|
||||
../src/node_viewport.cpp
|
||||
../src/node_scroll.cpp
|
||||
../src/abr.cpp
|
||||
)
|
||||
|
||||
target_include_directories(native-lib PRIVATE
|
||||
@@ -107,6 +109,8 @@ target_include_directories(native-lib PRIVATE
|
||||
../libs/sqlite3
|
||||
../libs/nanort
|
||||
../libs/native_app_glue
|
||||
../libs/hash-library
|
||||
../libs/fmt/include
|
||||
)
|
||||
|
||||
# add lib dependencies
|
||||
|
||||
@@ -94,7 +94,7 @@ public class MainActivity extends NativeActivity {
|
||||
|
||||
}
|
||||
// patterns
|
||||
File patterns = new File(pano_dir.getAbsolutePath(), "brushes");
|
||||
File patterns = new File(pano_dir.getAbsolutePath(), "patterns");
|
||||
if (!patterns.exists())
|
||||
{
|
||||
if (patterns.mkdirs())
|
||||
|
||||
Reference in New Issue
Block a user