From f60968b1039772be7609ea8397bd68ee221d3ff6 Mon Sep 17 00:00:00 2001 From: Cody Northrop Date: Wed, 19 Apr 2017 15:39:50 -0600 Subject: [PATCH] android: Target android-23 explicitly for APK Using "1" here was very specific to the build system, as noted by the comment. When run on systems with older APIs install, it resulted in java compile errors. --- renderdoccmd/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoccmd/CMakeLists.txt b/renderdoccmd/CMakeLists.txt index b0bc0853a..7113f3b57 100644 --- a/renderdoccmd/CMakeLists.txt +++ b/renderdoccmd/CMakeLists.txt @@ -57,7 +57,7 @@ target_link_libraries(renderdoccmd ${libraries}) install (TARGETS renderdoccmd DESTINATION bin) if(ANDROID) - set(APK_TARGET_ID "1" CACHE STRING "The Target ID to build the APK for, use to choose another one.") + set(APK_TARGET_ID "android-23" CACHE STRING "The Target ID to build the APK for, use to choose another one.") set(APK_FILE ${CMAKE_BINARY_DIR}/bin/RenderDocCmd.apk) add_custom_target(apk ALL