mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
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.
This commit is contained in:
@@ -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 <android list targets> to choose another one.")
|
||||
set(APK_TARGET_ID "android-23" CACHE STRING "The Target ID to build the APK for, use <android list targets> to choose another one.")
|
||||
|
||||
set(APK_FILE ${CMAKE_BINARY_DIR}/bin/RenderDocCmd.apk)
|
||||
add_custom_target(apk ALL
|
||||
|
||||
Reference in New Issue
Block a user