Browse Source

Android: Add a CMAKE_BUILD_TYPE default

Android NDK builds are always `debug` or `release`.  We may populate
flags for these configurations that are needed to produce compatible
binaries.  Ensure they are used by default.
Brad King 9 năm trước cách đây
mục cha
commit
b6a3102a9f
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      Modules/Platform/Android-Initialize.cmake

+ 2 - 0
Modules/Platform/Android-Initialize.cmake

@@ -47,3 +47,5 @@ else()
     "Android: No CMAKE_SYSROOT was selected."
     )
 endif()
+
+set(CMAKE_BUILD_TYPE_INIT Debug)