Browse Source

Merge topic 'android-build-type'

3dae826e43 Android: default to RelWithDebInfo

Acked-by: Kitware Robot <[email protected]>
Merge-request: !5465
Brad King 5 years ago
parent
commit
7b6a9ac8e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/Platform/Android-Initialize.cmake

+ 1 - 1
Modules/Platform/Android-Initialize.cmake

@@ -23,7 +23,7 @@ if(CMAKE_SYSTEM_VERSION EQUAL 1)
   return()
 endif()
 
-set(CMAKE_BUILD_TYPE_INIT Debug)
+set(CMAKE_BUILD_TYPE_INIT "RelWithDebInfo")
 
 # Skip sysroot selection if the NDK has a unified toolchain.
 if(CMAKE_ANDROID_NDK_TOOLCHAIN_UNIFIED)