*/}}
Browse Source

minor fixes

YimingWu 5 months ago
parent
commit
ab2355813d
2 changed files with 2 additions and 0 deletions
  1. 1 0
      apk_build.cmake
  2. 1 0
      src/CMakeLists.txt

+ 1 - 0
apk_build.cmake

@@ -70,6 +70,7 @@ macro(setup_variant VARIANT)
     -DANDROID_ABI=${VARIANT}
     -DANDROID_ABI=${VARIANT}
     -DANDROID_NDK=${ANDROID_NDK}
     -DANDROID_NDK=${ANDROID_NDK}
     -DANDROID_STL=c++_static
     -DANDROID_STL=c++_static
+    -DLAGUI_IGNORE_PACKAGES=True
     -DLAGUI_USE_GLES=True
     -DLAGUI_USE_GLES=True
     -DLAGUI_USE_LUAJIT=False
     -DLAGUI_USE_LUAJIT=False
     -DLAGUI_USE_PNG=True
     -DLAGUI_USE_PNG=True

+ 1 - 0
src/CMakeLists.txt

@@ -6,6 +6,7 @@ if(${LAGUI_ANDROID})
     add_definitions(-DLAGUI_ANDROID)
     add_definitions(-DLAGUI_ANDROID)
 endif()
 endif()
 
 
+INCLUDE_DIRECTORIES(${FREETYPE_SRC_DIR})
 INCLUDE_DIRECTORIES(${FREETYPE_SRC_DIR}/include)
 INCLUDE_DIRECTORIES(${FREETYPE_SRC_DIR}/include)
 INCLUDE_DIRECTORIES(${LAGUI_SRC_DIR})
 INCLUDE_DIRECTORIES(${LAGUI_SRC_DIR})
 INCLUDE_DIRECTORIES(${LAGUI_SRC_DIR}/nanovg)
 INCLUDE_DIRECTORIES(${LAGUI_SRC_DIR}/nanovg)