summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-06-08 17:48:19 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-12 14:40:54 (GMT)
commitb6a3102a9f8da05b50d4f4e96dd9f42ace37aa9b (patch)
tree23cc9472ce6568b303919b42ade69c45c7208de1 /Modules/Platform
parentd1e3cec2aa17a2f07f22c64c3bd29c765d69d9d2 (diff)
downloadCMake-b6a3102a9f8da05b50d4f4e96dd9f42ace37aa9b.zip
CMake-b6a3102a9f8da05b50d4f4e96dd9f42ace37aa9b.tar.gz
CMake-b6a3102a9f8da05b50d4f4e96dd9f42ace37aa9b.tar.bz2
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.
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Android-Initialize.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Android-Initialize.cmake b/Modules/Platform/Android-Initialize.cmake
index c0354c7..353dd0d 100644
--- a/Modules/Platform/Android-Initialize.cmake
+++ b/Modules/Platform/Android-Initialize.cmake
@@ -47,3 +47,5 @@ else()
"Android: No CMAKE_SYSROOT was selected."
)
endif()
+
+set(CMAKE_BUILD_TYPE_INIT Debug)