mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Add check for ANDROID_NDK, and error if not set when building android
This commit is contained in:
@@ -56,6 +56,9 @@ if(ANDROID)
|
||||
if(NOT DEFINED ENV{ANDROID_SDK})
|
||||
message(FATAL_ERROR "ANDROID_SDK environment variable must be defined for Android build")
|
||||
endif()
|
||||
if(NOT DEFINED ENV{ANDROID_NDK})
|
||||
message(FATAL_ERROR "ANDROID_NDK environment variable must be defined for Android build")
|
||||
endif()
|
||||
|
||||
if(STRIP_ANDROID_LIBRARY AND CMAKE_STRIP AND CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
add_custom_command(TARGET renderdoccmd POST_BUILD
|
||||
|
||||
Reference in New Issue
Block a user