mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
android: update 'debug' information support
This commit is contained in:
@@ -77,7 +77,7 @@ if(ANDROID)
|
||||
|
||||
# force strip library after the build command
|
||||
# because samples and tests will make a copy of the library before install
|
||||
if(NOT CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||
if(NOT BUILD_WITH_DEBUG_INFO AND NOT CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||
add_custom_command(TARGET ${the_module} POST_BUILD COMMAND ${CMAKE_STRIP} --strip-unneeded "$<TARGET_FILE:${the_module}>")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user