mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Add --build-id link parameter on android so that symbols can be loaded
* Without this android studio/lldb can't load the symbols if the lib inserted in an apk has been stripped.
This commit is contained in:
@@ -311,6 +311,10 @@ if(UNIX AND NOT ANDROID AND NOT APPLE)
|
||||
set_target_properties(renderdoc PROPERTIES LINK_FLAGS "-Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/renderdoc.version")
|
||||
endif()
|
||||
|
||||
if(ANDROID)
|
||||
set_target_properties(renderdoc PROPERTIES LINK_FLAGS "-Wl,--build-id")
|
||||
endif()
|
||||
|
||||
install (TARGETS renderdoc DESTINATION lib${LIB_SUFFIX})
|
||||
|
||||
# Copy in application API header to include
|
||||
|
||||
Reference in New Issue
Block a user